- Docker with docker compose
- Flyway cli tool
- Java 11
cd
in todatabase
directory
cd database
- Run docker compose up
docker-compose up
or
docker compose up
- Run the migration
cd ../
./migrate.sh
In the root directory run,
./gradlew run
Runs the app in the development mode.
Open http://0.0.0.0:8080/ to view it in the browser.
- After making changes to the database by making another version sql file in resources migrate.sh should be executed to generate the java orm files
- All the environment variables should be accessed on the Application.kt file on the first run
- Newly added environment variables should always be added on to the deployed version before merging a PR