- Be sure to use the correct ruby version
- Install
rvm
-
rvm install ruby-3.0.5
- Be sure to have bundles installed
bundle install
- Fill database with samples
rails db:seed
location / {
proxy_pass http://localhost:xxxx
}
/!\ Make sure DATABASE_URL is unset
PORT=xxxx rails s
For dev
PORT=xxxx RAILS_ENV=production rails s
For production
rails test