Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 477 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 477 Bytes

CardWiki Backend

How to run it

Start the backed

mvn spring-boot:run

Start the backed with test data

If the database is not clean, the test data won't be inserted

./run-dev.sh

Deployment

Configure src/main/resources/application-prod.yml and run it with -Dspring-boot.run.profiles=prod.

To initially give your user admin rights run:

mvn spring-boot:run -Dspring-boot.run.profiles=makeAdmin -Dspring-boot.run.arguments=--admin-username=<username>