Application Setup
Install Ruby Version: 2.5.1 If you use RVM:
$ rvm install ruby-2.5.1Switch to ruby version 2.5.1
Install postgresql: (if you haven't)
$ sudo apt update
$ sudo apt install postgresql postgresql-contrib
$ sudo -u postgres psqlSetup postgresql and create admin user that matches your username
$ sudo -i -u postgres
$ sudo -u postgres createuser --interactiveInstall the gems:
$ bundle install Create and migrate the database
$ rails db:create
$ rails db:migrate
$ rails db:seedRun the server
$ rails s