This is a repo you can use to start your projects.
Use the sinatra-app walk throughs as examples to guide you.
- Log into GitHub and fork this repo to your own account.
- Click the clone or download link and copy the ssh clone name. (Toggle between https and ssh until you see Clone with ssh indicator.)
- Log into Cloud 9.
- In the root of your Cloud 9 workspace, open a terminal window and type
git clone
and then paste the name of the repo you copied. It might look likegit clone [email protected]:Gmfholley/sheql-start.git
. - Change your directory into the folder you just made:
cd sheql-start
. bundle install
to install all the files for this repo.sudo service postgresql start
to start postgres.
Now that you've installed and started postgres, you're ready to get started.
I have written a little helper method to serve Sinatra instead of ruby ./app.rb -p $PORT -o $IP
. Instead, just type in terminal.
$ rake serve
Enjoy!
- Set up Repo (If you have done this already for active record, you can skip.)
- Set Up Authentication
- Work on your Project!