Skip to content

Latest commit

 

History

History
15 lines (15 loc) · 743 Bytes

README.md

File metadata and controls

15 lines (15 loc) · 743 Bytes
  1. yarn install
  2. Install Ruby and Ruby on Rails using https://www.howtoforge.com/tutorial/ubuntu-ruby-on-rails/
  3. sudo apt install postgresql postgresql-contrib
  4. gem install pg -v '1.2.3' --source 'https://rubygems.org/'
  5. sudo apt-get install libpq-dev (for pg gem)
  6. bundler install
  7. Open config/database.yml and setup postgresql database.
    • Create a database 'youngsphere'
    • ALTER USER postgres PASSWORD 'myPassword' Now, fill these values under development.
  8. rails db:migrate
  9. Open 2 tabs: 1st tab: rails server 2nd tab: ./bin/webpack-dev-server