mirror of
https://github.com/mruwnik/chicken-master.git
synced 2025-06-08 13:24:42 +02:00
Backend
The API for the chickens service.
Development
-
Setup the development database:
docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres clojure -A:migrate up
-
Start the server:
clojure -M:dev
Testing
clojure -M:test
Deployment
clojure -X:depstar uberjar
java -Dconfig=config/dev/config.edn -jar chickens.jar
Migrations
To the newest migration
clojure -A:migrate up
Down one
clojure -A:migrate down