Book journal with spaced repetitions.
node
ruby
yarn
for managing JS dependencies
bundle
yarn
first time:
rails db:migrate RAILS_ENV=development
rails db:seed
then:
npm start
This project uses commitizen, commit with npm run commit
npm test
first, build the necessary images: docker-compose build
to launch on production, run docker-compose up -d
, and then:
start from scratch | restore backup |
---|---|
bash ./scripts/migrate.sh |
bash ./scripts/restore.sh |
to backup the DB (while the container is running), run:
bash ./scripts/backup.sh