Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mscoutermarsh/unicorn-rails-heroku
Example Rails app w/Unicorn on Heroku
https://github.com/mscoutermarsh/unicorn-rails-heroku
Last synced: about 1 month ago
JSON representation
Example Rails app w/Unicorn on Heroku
- Host: GitHub
- URL: https://github.com/mscoutermarsh/unicorn-rails-heroku
- Owner: mscoutermarsh
- License: mit
- Created: 2014-05-26T15:04:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-12T20:03:34.000Z (about 10 years ago)
- Last Synced: 2024-10-12T19:24:36.321Z (2 months ago)
- Language: Ruby
- Size: 262 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
unicorn-rails-heroku
====================Example Rails app w/Unicorn on Heroku.
This requires that Postgres be installed on your local machine.
```
$ git clone https://github.com/mscoutermarsh/unicorn-rails-heroku.git
$ cd unicorn-rails-heroku
$ bundle install
$ bundle exec rake db:create
$ bundle exec rake db:migrate
$ bundle exec rails s
```Next, to get it running on Heroku.
```
$ heroku create
$ heroku addons:add heroku-postgresql:dev
$ git push heroku master
$ heroku open
```See ```config/unicorn.rb```, ```Procfile``` and ```Gemfile``` for unicorn setup.
done!
### Need Help?
Tweet [@mscccc](http://twitter.com/mscccc)