dgf-prototype/backend/README.md

19 lines
379 B
Markdown
Raw Normal View History

# Setup
2024-04-27 13:40:11 -05:00
1. Prepare the environment variables
2024-04-27 13:40:11 -05:00
cp .env.example .env
2024-04-27 13:40:11 -05:00
1. Install packages so that we can run the login script (next command)
2024-04-27 13:40:11 -05:00
npm install
2024-04-27 13:40:11 -05:00
1. Run the login script
2024-04-27 13:40:11 -05:00
npm run login
2024-04-27 13:40:11 -05:00
1. Edit `.env` to include the `MATRIX_AUTH_TOKEN` output from the previous command
2024-04-27 13:40:11 -05:00
1. Build and start the docker container
docker compose up -d --build