School's Out for Summer Sale! — 50% off all courses at One Month

Video not found

Creating a Custom Home Page

Day 2 · Lesson 1 ·

Let's use routes to point us in the right direction!

1. Run your Rails server 


bash-3.2$ pwd
bash-3.2$ cd ~/Desktop/one_month/one_month_stripe_payments/
bash-3.2$ pwd
bash-3.2$ rails

And then go to "localhost:3000" in your browser

2. Update your Routes file to prepare a route to our homepage 


$ subl . 
#open all the files in sublime

If you don't already have the "subl" command installed? Run the following command: 

$ ln -s "/Applications/Sublime Text" ~/bin/subl

But if that doesn't work, check out the instructions here OS X Command Line @ Sublime, and ask us for help.