This repo is meant to house all of my personal Spring Boot projects
choco install gradle
brew install gradle
brew install oracle-jdk@17
apt-get install gnupg2 software-properties-common
add-apt-repository ppa:linuxuprising/java
apt-get install oracle-java17-installer oracle-java17-set-default
To run the project, run the following command:
./gradlew build
If on Windows, run the following command:
gradlew.bat build
./gradlew :api-genshin-impact:bootRun --args='--spring.profiles.active=local-h2'
or
./gradlew :api-genshin-impact:bootRun -Dspring.profiles.active=local-h2
./gradlew :api-honkai-star-rail:bootRun --args='--spring.profiles.active=local-h2'
or
./gradlew :api-honkai-star-rail:bootRun -Dspring.profiles.active=local-h2
- 9001: api-mythic-heroes
- 9002: api-genshin-impact
- 9003: api-afk-arena
npx sort-json --indent 2 --depth 4 .vscode/settings.json && prettier --config .prettierrc --write .vscode/settings.json
npx sort-json --indent 2 --depth 4 .vscode/settings.mac.sample.json && prettier --config .prettierrc --write .vscode/settings.mac.sample.json
npx sort-json --indent 2 --depth 4 .vscode/settings.wsl.sample.json && prettier --config .prettierrc --write .vscode/settings.wsl.sample.json
npx nx migrate latest
npm update && npm i
npx nx migrate --run-migrations # If needed