Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 1.04 KB

localhost.md

File metadata and controls

14 lines (13 loc) · 1.04 KB

To run this web application on localhost

  1. Fork and/or clone this repo
  2. Ensure you have postgresql installed and running on localhost
  3. Execute bundle install --path vendor/bundle
  • If you have a problem installing pg, try running sudo env ARCHFLAGS='-arch x86_64' gem install pg
  1. The SAMPLE.env file in the project root should be copied to .env and edited.
  • You can run cp SAMPLE.env .env
  • Populate the GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET with your own Github App configurations (see INSTRUCTIONS/oauth-configuration.md
  • The file .env is ignored via the .gitignore file, since it contains these values that should be kept confidential.
  1. If you are running this for the first time, run bundle exec rake db:create
  2. Execute bundle exec rake db:migrate
  3. Execute bundle exec rails s
  4. The rails server should now be running on http://localhost:3000