Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 924 Bytes

README.markdown

File metadata and controls

34 lines (24 loc) · 924 Bytes

Sinku

Sinku is a starting point for deploying Sinatra to Heroku. It allows you to get a website live on a remote URL in under 30 seconds.

Sinku also includes Twitter Bootstrap for default styling and Shotgun for automatic reloading.

Requirements

How to Use

To quickly deploy a Sinatra app to Heroku:

mkdir -p ~/Sites/project && cd ~/Sites/project
git clone https://github.com/jack7890/Sinku.git ./
bundle install
heroku create
git push heroku master
heroku open

To run this all at once:

mkdir -p ~/Sites/project && cd ~/Sites/project && git clone https://github.com/jack7890/Sinku.git ./ && bundle install && heroku create && git push heroku master && heroku open

To load your app locally via Shotgun:

shotgun -I. index.rb