Skip to content

Latest commit

 

History

History
41 lines (21 loc) · 767 Bytes

File metadata and controls

41 lines (21 loc) · 767 Bytes

TEDxBerkeley Ruby on Rails Site

Getting Started

  1. Install Postgres. The easiest way to do this is the with Postgres.app

  2. Install Rails at the command prompt if you haven't yet:

     $ gem install rails
    
  3. Clone the TEDxBerkeley app into your workspace:

     $ git clone https://github.com/TEDxBerkeley/tedxberkeley.org.git
    
  4. Create a new rails project from the project directory. Answer n to Overwriting files:

     $ rails new project_directory
    
  5. Install dependencies:

     $ bundle install
    
  6. Create database:

     $ rake db:create
    
  7. Run Migrations:

       $ rake db:migrate
    
  8. Add seed data:

     $ rake db:seed
    
  9. Run tests:

     $ rspec
    
  10. Run Application.

     $ rails s