source code of https://talk.4ng.net
This version of Mornin audio conference web application uses Broadcast Box instead of Kraken.
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generateYou must have your own domain name, because the project uses relative paths.
If you use Github's domain name, it's will be deploy on <user>.github.io/mornin.fm/, but it will try to find js and css in <user>.github.io/ and failed.
After you configure a CNAME record with your DNS provider, modify src/CNAME to your custom domain name.
By the way, Github does not recommend using the root domain name, but using the subdomain name. If the root domain name is used as the CNAME, see configuring-an-apex-domain.
By default, the broadcastbox service at pade.chat is used. If you want to use your a self-hosted broadcast box as backend service, modify the code here and ensure you expose the following REST endponts from your service:
- /api/whip
- /ap/whep
- /api/status
copy the /dist foler to /docs and copy index.html to 404.html
Finally, go to your forked repository, click Settings -> Pages, select master/docs branch to save.