API for https://supercharge.info
- Java 14
- Maven
- Docker
mvn -DskipTests install
./database/rebuild-database.sh
(once, run as a user that can execute docker commands)
./start.sh
(each time to start API and DB, run as a user that can execute docker commands)
./stop.sh
(to clean up resources when done)
mvn install
(verify tests pass)./release.sh
(enter to accept suggested release version)git push --tags origin <your-branch>
(to push release to origin)./deploy.sh <test|prod> <version>
- Local/development configuration is read from
classpath:/com/redshiftsoft/tesla/dev-config.properties
. - In test/prod the system property
api.config.location
specifies configuration file.