Skip to content

mysterycodesociety/sheql-start

Repository files navigation

Projects

This is a repo you can use to start your projects.

Use the sinatra-app walk throughs as examples to guide you.

  1. Log into GitHub and fork this repo to your own account.
  2. Click the clone or download link and copy the ssh clone name. (Toggle between https and ssh until you see Clone with ssh indicator.)
  3. Log into Cloud 9.
  4. 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 like git clone [email protected]:Gmfholley/sheql-start.git.
  5. Change your directory into the folder you just made: cd sheql-start.
  6. bundle install to install all the files for this repo.
  7. 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!

  1. Set up Repo (If you have done this already for active record, you can skip.)
  2. Set Up Authentication
  3. Work on your Project!

At the end of class:

  1. Clean up your layout page
  2. Write your blog post
  3. Commit and Push Your Changes to GitHub
  4. Launch to Heroku (with your teacher)

About

Starting a new project in Sinatra

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published