README
Dependencies
- Install Ruby 2.7.0 and Rails 6.0
- Install PostgreSQL 11.5
- Install Node.js 12.16.1 and Yarn
Gems
bundle install
Node packages
yarn install
Setup database
rake db:create
rake db:migrate
Run (development)
foreman start
Run (production)
RAILS_ENV=production bundle exec rails assets:precompile
NODE_ENV=production bundle exec rails webpacker:compile
RAILS_ENV=production rails s