Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spier/heroku_sinatra_scaffold
Minimal set of files needed to deploy a Ruby/Sinatra application on heroku.com
https://github.com/spier/heroku_sinatra_scaffold
Last synced: about 1 month ago
JSON representation
Minimal set of files needed to deploy a Ruby/Sinatra application on heroku.com
- Host: GitHub
- URL: https://github.com/spier/heroku_sinatra_scaffold
- Owner: spier
- Created: 2010-10-16T16:27:11.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-07-30T18:19:20.000Z (over 12 years ago)
- Last Synced: 2024-04-15T02:51:10.919Z (9 months ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Heroku Sinatra Scaffold
I use this as a starting point when developing a prototype with [sinatra](http://www.sinatrarb.com)/[ruby](http://www.ruby-lang.org) that I want to run on [heroku](http://heroku.com).
An example of this scaffold is deployed at [simple-snow-41.heroku.com](http://simple-snow-41.heroku.com).
## How to use this?
This assumes your have already registered with heroku and generally know how heroku works. If not, start by reading the [Heroku Quickstart](http://docs.heroku.com/quickstart).
Once you have done this, you can create your own heroku application with this scaffold and deploy it at heroku by following these steps:
1. git clone [email protected]:spier/heroku_sinatra_scaffold.git your_application_folder
Initialized empty Git repository in .../your_application_folder/.git/
remote: Counting objects: 14, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 14 (delta 2), reused 0 (delta 0)
Receiving objects: 100% (14/14), done.
Resolving deltas: 100% (2/2), done.
1. cd your_application_folder
1. heroku createCreating random_application_subdomain.... done
Created http://random_application_subdomain.heroku.com/ | [email protected]:random_application_subdomain.git
Git remote heroku added
1. git push heroku masterCounting objects: 14, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (14/14), 1.38 KiB, done.
Total 14 (delta 2), reused 14 (delta 2)-----> Heroku receiving push
-----> Sinatra app detected
-----> Installing gem sinatra from http://rubygems.org
Successfully installed sinatra-1.0
1 gem installed
Compiled slug size is 236K
-----> Launching.... done
http://random_application_subdomain.heroku.com deployed to HerokuTo [email protected]:random_application_subdomain.git
* [new branch] master -> master
1. now check the host that was created by heroku to see your application running (I called the host http://random_application_subdomain.heroku.com in the example above)