Alex Edwards' snippetbox application in Clojure
This project depends on the Clojure programming language. I like to use a POSIX-compatible Makefile to facilitate the various project operations but traditional clj commands will work just as well.
To build the application into a standalone JAR, run:
make
This project depends on various services. To develop locally, you'll need to run these services locally somehow or another. I find Docker to be a nice tool for this but you can do whatever works best.
- PostgreSQL - for persistent storage
The following command starts the necessary containers:
docker compose up -d
These containers can be stopped via:
docker compose down
To start the web server:
make web
To apply any pending database migrations:
make migrate
Unit and integration tests can be ran after starting the aforementioned services:
make test