BattleManager
TODO: Well, this...
Requirements
Procon plugins
How to run (Docker)
- Make sure you've ran the migration scripts to the database from the
scripts
-folder. - Rename the
docker-compose.example.yml
todocker-compose.yml
. - Change the proper environment variables.
- Change the BACKEND_ENDPOINT from
config.js
to point to the correct public graphlService endpoint. - Run with
docker-compose up
or the stack withdocker stack deploy -c docker-compose.yml
Note
- INTERNAL_TOKEN between services must match
- APP_KEY changing app key after adding users will make the passwords invalid
Development
Windows
If you have Windows Terminal
installed
- Run the
run-localhost.bat
script
Otherwise
- Start GraphQL backend
cd services\graphqlService && npm i && npm start
- Start Management Frontend
cd services\managementfrontend && npm i && npm start
Linux
- Start GraphQL backend
cd services\graphqlService && npm i && npm start
- Start Management Frontend
cd services\managementfrontend && npm i && npm start