villagebook helps people keep track of their livestock.
- Install PostgreSQL https://www.postgresql.org/download/
- Install Lein https://leiningen.org/#install.
- Tweak config (if required) in src/config.clj
- Start the server
createdb villagebook
lein run migrate
lein ring server
npm install
shadow-cljs watch app
docker-compose up --build
By running docker-compose up, postgres will be running with test db.
docker-compose up --build
Add host entry (/etc/hosts) to connect postgres db (running via docker)
127.0.0.1 villagebook-postgres
lein test
To add:
- Add CIDER/REPL setup