Discord bot to play games with.
- Architecture
- Database Inspection
- Database Migrations
- Design Decisions
- Setup Instructions
- Supported Games
- Working with
bin
Scripts
export SPRING_DATASOURCE_URL='jdbc:postgresql://database-container:5432/dbname'
export SPRING_DATASOURCE_USERNAME='spring_user'
export SPRING_DATASOURCE_PASSWORD='SpringUserPassword'
export POSTGRES_URL='jdbc:postgresql://localhost:5432'
export POSTGRES_DB='dbname'
export POSTGRES_USER='postgres'
export POSTGRES_PASSWORD='SuperuserPassword'
./bin/run.py --apply-migrations [--debug]
The application is now listening at http://localhost:8080
. If the --debug
option has been used, the debugger is listening on port 8000
.
Configuration, such as network ports, Docker component names (volumes, network, images, containers), can be adjusted inside ./bin/config.ini.
./bin/teardown.py [--cache --db --network --tmp]
./gradlew test
./bin/integration_tests.py