You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* get start_dev.sh script working
* launch_chrome.sh: only create certificate if it doesn't already exist
* add instructions for running locally without docker
* update readme
---------
Co-authored-by: Dario Lencina <[email protected]>
3. types: json serializable structures used to communicate the frontend and backend.
73
61
74
-
# Dockerized workflow
62
+
# Local Development
63
+
64
+
## Without docker
65
+
66
+
### Prerequisites
67
+
68
+
1. Create a postgresql database that you can accessed without a password. The default database name is `actix-api-db`, i.e. the default connection string is `postgresql://$USER@localhost/actix-api-db`
69
+
70
+
2. Install [trurl](see https://github.com/curl/trurl) and [nats-server]((see https://docs.nats.io/running-a-nats-service/introduction/installation)
71
+
72
+
### Starting up the servers
73
+
74
+
1. Run the script `./start_dev.sh`.
75
+
76
+
It examines various environment variables to control the behavior; see the script itself for details.
77
+
By default it runs using websockets rather than webtransport (`WEBTRANSPORT_ENABLED=0`) and without encryption (`E2EE_ENABLED=0`).
78
+
79
+
2. Connect your browser to `http://localhost:8081/meeting/<username>/<meeting-id>`
80
+
81
+
You can make multiple connections (with varying usernames) from multiple browser windows or tabs.
82
+
83
+
If you are using encryption (`E2EE_ENABLED=1`), you should lanuch Chrome with
84
+
the necessary options for it to accept the local certificate by running `./launch_chrome.sh`
0 commit comments