Skip to content

Setting up the development environmet

Manuel Lorenzo edited this page Oct 3, 2018 · 6 revisions

Installing Ruby on Rails

Please, follow along the instructions for your OS (INSTALL POSTGRESQL)

https://gorails.com/setup/

Cloning the repo locally

git clone https://github.com/infusionvlc/infusion.git

Installing bundled gems

Run bundle install inside the 'infusion' app directory.

Mac OS specific

If you get an error while trying to install the pg gem when doing a bundle install, make sure to use homebrew to install postgresql with brew install postgresql, and then run bundle install again.

First run

  1. rails db:create
  2. rails db:migrate
  3. rails db:seed
  4. Now, you are ready to run the server with rails s