Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

Latest commit

 

History

History
37 lines (34 loc) · 659 Bytes

README.md

File metadata and controls

37 lines (34 loc) · 659 Bytes

README

Application Setup

Install Ruby Version: 2.5.1 If you use RVM:

 $ rvm install ruby-2.5.1

Switch to ruby version 2.5.1

Install postgresql: (if you haven't)

  $ sudo apt update
  $ sudo apt install postgresql postgresql-contrib
  $ sudo -u postgres psql

Setup postgresql and create admin user that matches your username

  $ sudo -i -u postgres
  $ sudo -u postgres createuser --interactive

Install the gems:

  $ bundle install 

Create and migrate the database

  $ rails db:create 
  $ rails db:migrate
  $ rails db:seed

Run the server

  $ rails s  

website