A web app built in Crystal for storing simple documents and related meta-data
- Crystal
- Guardian - for watching tests
- Docker (for running Docker containers)
- psql (for connecting to the database)
- To install dependencies, run:
shards install
To run the tests: crystal spec
To run and watch the tests (using guardian): guadian
To run the application: crystal run src/doc_store.cr
To build the application: crystal build --release src/doc_store.cr
Once built, run the application on port 5000 (default is 3000) ./doc_store -p 5000
To build the application: ENV=[env] docker-compose build
To run the application: ENV=[env] docker-compose up
To connect to the database: psql -h localhost -U doc_store
TODO: Write development instructions here