- Add the WebApi outbound IP addresses to the MongoDB Atlas network access list.
- Create a web app in the Firebase project and set its ids in the BlazorApp
Firebase:WebAppConfiguration:*settings (see CONTRIBUTING.md). - Add the WebApi and BlazorApp domains to Firebase > Authentication > Settings > Authorized domains.
- Create a GitHub OAuth application for the Firebase GitHub provider.
scripts/mongodb-create-index.js is idempotent, and is re-run after every change to it and after every migration script:
mongosh "mongodb+srv://<user>:<password>@<cluster>.<project>.mongodb.net/<database>" scripts/mongodb-create-index.jsdocker run --rm -it --workdir=/data --volume "$(pwd)":/data mongo:8.2 mongodump --uri "mongodb+srv://<user>:<password>@<cluster>.<project>.mongodb.net/<database>"
docker run --rm -it --workdir=/data --volume "$(pwd)":/data mongo:8.2 mongorestore --uri "mongodb+srv://<user>:<password>@<cluster>.<project>.mongodb.net"docker run --rm -it --entrypoint /bin/bash <repository>/<image>:<tag>