- Ruby
- Node.js < 17.0.0
- Yarn
- SQLite3
- Heroku CLI
make setup
make test # run tests
make start # run server http://localhost:3000
make fixtures-load # sometimes, when fixtures were changed
Add database:
heroku addons:create heroku-postgresql:hobby-dev
Prepare environment variables:
heroku config:set SECRET_KEY_BASE=$(rake secret)
heroku config:set HOST=$(heroku info -s | grep web_url | cut -d= -f2) # https://cv.hexlet.io for production
heroku config:set RACK_ENV=production
heroku config:set RAILS_ENV=production
heroku config:set RAILS_LOG_TO_STDOUT=enabled
heroku config:set [email protected]
This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.
See most active contributors on hexlet-friends.