Daniel O'Connell f7de4a90df Fix recur till
2022-05-12 16:55:04 +02:00
..
2021-03-06 21:55:41 +01:00
2022-05-12 16:55:04 +02:00
2022-04-20 20:20:05 +02:00
2022-04-19 21:40:28 +02:00
2021-03-13 12:45:24 +01:00

Backend

The API for the chickens service.

Development

  1. Setup the development database:

    docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres clojure -A:migrate up

  2. 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