Creating a Custom Home Page

Day 2 · Lesson 1 · 4 minutes

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.

8 Questions

Having trouble? Don't worry, you're probably not the only one. Check out the questions other students have or ask yours.