Day 1 ยท Lesson 4 ยท
In a few steps we'll be up and running
Terminal
$ cd ~/Desktop/one_month/
Let’s just check git status…. just to make sure that you’re not in a git repo
Terminal
$ git status
Terminal
$ rails new one_month_stripe_payments
$ cd one_month_stripe_payments
$ rails server
In your browser go to "localhost:3000"
Terminal
$ cd one_month_stripe_payments
$ ls #remember you can use this to list files in this directory
Terminal
$ git init
$ git add .
$ git commit -m "Saving generated rails app"
A: "Command + C" (mac)
"Control + C" (Windows)
A: This is a unique indentifier for your commit, so that you can reference it, or roll back to it at some later point. This isn't super important to memorize, but good to be aware of.
A: Just press "Q" (Mac). This screen is known as less, and I agree... it can be a bit confusing. But if you're stuck, just press "Q".