Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ionorg/ion-app-web
ion web app
https://github.com/ionorg/ion-app-web
app ion js web
Last synced: 16 days ago
JSON representation
ion web app
- Host: GitHub
- URL: https://github.com/ionorg/ion-app-web
- Owner: ionorg
- License: mit
- Created: 2020-05-07T16:08:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T18:46:06.000Z (over 1 year ago)
- Last Synced: 2024-07-31T19:39:51.784Z (3 months ago)
- Topics: app, ion, js, web
- Language: JavaScript
- Homepage:
- Size: 4.22 MB
- Stars: 115
- Watchers: 9
- Forks: 73
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ion-app-web
ion web app
### Screenshots
### Docker
Warning: **make sure ion is deployed by docker too**
#### Local hosting and auto ssl
Build docker image with production build of web app. erve on `https://localhost:9090`
Biz websocket is proxied using caddy server and docker network from ion.
You will need to ensure that src/App.jsx line 99 has the correct port for this proxy to work.```
docker network create ionnet
docker-compose -f docker-compose.yml up
```Chat: [https://localhost:9090](https://localhost:9090)
Run this to rebuild when you modify the code
```
docker-compose -f docker-compose.yml up --build
```#### Prod hosting and auto SSL
Enable production ports and Caddy file for web service in `docker-compose.prod.yml`.
Make sure these ports are exposed publicly
```
80/tcp
443/tcp
```Configure your domain/email in docker-compose.prod.yml
```
WWW_URL=yourdomain
ADMIN_EMAIL=yourname@yourdomain
```Verify that you're using the correct port on src/App.jsx on line 99 as you'll be using Caddy to proxy requests.
Bring up docker with
```
docker pull pionwebrtc/ion-app-web
docker network create ionnet
docker-compose -f docker-compose.prod.yml up
```Chat:
```
https://yourdomain
```### Local Dev
#### Setup
Install node modules
```
npm i
```#### Run
Start dev server
```
npm start
```Ensure that line 99 of src/App.jsx is pointed to :5551 since you can hit the SFU locally.
Chat: [https://localhost:8080](https://localhost:8080)