Make sure you have a JavaScript runtime such as node installed.
Install ruby version 2.6.0 with rbenv.
Install bundler with gem install bundler
run bundle install
to install all dependencies specified in the Gemfile
Run migrations with rails db:migrate
Run rails s
to start the project in development mode
Run migrations with rails db:migrate RAILS_ENV=production
Precompile your assets with rake assets:precompile
Run rails s -e production
to start the project in production mode
(To get error output use RAILS_LOG_TO_STDOUT=true rails s -e production
)