Week 4, day 3 cook book app code along
Here's how to get a fully functioning version up and running on your box:
> git clone https://github.com/aikalima/wdi_cook_book
> cd wdi_cook_book
> rake db:migrate
> rake db:seed
> rails s
**How to open Sublime from the command line** | |
1. Verify that `Sublime Text 2` is installed in your `Applications` folder | |
2. Launch Sublime from the GUI and open the file `.bash_profile` OR `.zshrc` in your HOME directory. | |
3. Copy/Paste this line to .bash_profile: | |
``` | |
alias subl='/Applications/Sublime\ Text\ 2.app/Contents/MacOS/Sublime\ Text\ 2 $1' | |
``` |
``` | |
require 'sinatra' | |
require 'sinatra/reloader' | |
require 'json' | |
require 'sqlite3' | |
before do | |
@db = SQLite3::Database.new './store.sqlite3' | |
end |
Week 4, day 3 cook book app code along
Here's how to get a fully functioning version up and running on your box:
> git clone https://github.com/aikalima/wdi_cook_book
> cd wdi_cook_book
> rake db:migrate
> rake db:seed
> rails s
Action Mailer Lab / Homework
Implement reset password feature in cook book app (or hacker news clone)
Prerequisite:
config/environments/development.rb
config.action_mailer.raise_delivery_errors = true
Goals for today
##Goals 01/07/2014
###git and github
###ruby part II