This is a project written using Lucky. Enjoy!
See:
- Start/stop postgres server
- Change Password
- Install required dependencies
- Update database settings in
config/database.cr
- Run
script/setup
- Run
lucky dev
to start the app
## In One terminal:
# docker-compose build
./bin/acu/dc-build
# docker-compose up
./bin/acu/dc-up
## In another terminal:
# docker-compose run app sh
./bin/acu/dc-run-sh
## In the compose terminal:
# shards install
... then:
- Update database settings in
config/database.cr
- Run
script/setup
- Run
lucky dev
to start the app
NOTE: When re-building the docker container, postgress has hold of some files as root, so you have to re-acquire ownership...
# Acquire 'tmp/db' folder and remove it
bin/acu/pg-acquire
shards
### Learning Lucky
Lucky uses the [Crystal](https://crystal-lang.org) programming language. You can learn about Lucky from the [Lucky Guides](https://luckyframework.org/guides/getting-started/why-lucky).