Skip to content

jhu-ep-coursera/fullstack-course2-module3-blogposts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starting application

  1. Remove Gemfile.lock

  2. Add into Gemfile

    # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
    gem 'tzinfo-data', platforms: [:mingw, :mswin]
    
  3. Install all packets:

    $ bundle install
  4. Make migration:

    $ rake db:migrate RAILS_ENV=development
  5. Start server:

    $ rails s
  6. Using a browser, go to ‘localhost:3000/posts` and you’ll see index page for Posts.