Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.36 KB

README.md

File metadata and controls

55 lines (37 loc) · 1.36 KB

Eff Fab

Deploy to Heroku

This application was generated with the rails_apps_composer gem provided by the RailsApps Project.

Rails Composer is supported by developers who purchase our RailsApps tutorials.

Ruby on Rails

This application requires:

  • Ruby 2.2.1

Learn more about Installing Rails.

Getting Started

Install dependencies, or use mah vagrant box.

$  sudo apt-get install libmysqlclient-dev

Setup the app as with most rails apps

$  cp config/application.yml.example config/application.yml
$  bundle install
$  rake db:create
$  rake db:migrate
$  rake db:seed

Now you can boot up the server

$  rails s

You may want to notice the configuration file located at config/application.yml

Setup

To prime up the database, you can't really rely on rake db:seed, instead, login as the admin user (see application.yml) and navigate to /admin and click the button for Populate Users, this will scrape eff.org/about/staff for user names, emails, and pictures and plug them into the database.

Credits

License