Skip to content

Use this template to create a sinatra app that you can deploy onto Heroku

Notifications You must be signed in to change notification settings

sam-strong/first-sinatra-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First Sinatra App - to be deployed on Heroku

This is the outline for a Sinatra app you're going to use to create a live website by the end of the day.

Setting up your Heroku app

First things first, create an app on Heroku which we will deploy our website to.

  • Create an account at Heroku.
  • If you haven't done so already install the Heroku toolbelt, and login from the command line by typing heroku auth:login
  • You need to authenticate with Heroku in order to deploy, follow these instructions
  • Make sure in your terminal you're in the first-sinatra-app directory, then create a Heroku app by typing heroku create
  • Push your app to heroku by typing git push heroku master
  • Go online to your heroku account online and find the url from where you can view your app

NOTES

  • If you're stuck, use google, stack overflow (if you don't have an account yet create one now!), the sinatra documentation or books like this one (completely available online)
  • Once you've done getting something simple online, try adding an HTML template
  • Add css/images and put it into your public directory

About

Use this template to create a sinatra app that you can deploy onto Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%