Skip to content

StartupInstitute/reservester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab 1

Part 1

Generated the project with:

$ rails new reservester

Git initialize it with:

$ git init

Move the README from being rdoc to markdown with:

$ git mv README.rdoc README.md

Part 2

Deployed with:

$ git push heroku master

Part 3

Generated the development and test databases with:

$ rake db:create

Lab 2

Part 1

Generated the blank resource with:

$ rails g resource restaurant

Ran the database migration with:

$ rake db:migrate

Part 2

Installed Twitter Bootstrap with Less assets:

$ rails generate bootstrap:install less

Generated the base layout file:

$ rails g bootstrap:layout fluid

Overwrote the application.html.erb:

$ mv app/views/layouts/fluis.html.erb
app/views/layouts/application.html.erb

Part 3

Generated a Photo Uploader:

$ rails generate uploader Photo

Generated the database migration to add a photo column:

$ rails g migration AddPhotoToRestaurants

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published