forked from heroku/ruby-rails-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mark Pundsack
committed
Feb 8, 2014
1 parent
4ded88f
commit 7906201
Showing
2 changed files
with
36 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# ruby-sample | ||
|
||
This is a barebones Ruby app using the [Rails](http://rubyonrails.org) framework. | ||
|
||
## Running Locally | ||
|
||
Asumming you have [Ruby](https://www.ruby-lang.org), [Bundler](http://bundler.io) and [Heroku Toolbelt](https://toolbelt.heroku.com) installed on your machine: | ||
|
||
```sh | ||
git clone [email protected]:heroku/ruby-rails-sample.git # or clone your own fork | ||
cd ruby-rails-sample | ||
bundle | ||
bundle exec rake db:create | ||
bundle exec rake db:migrate | ||
foreman start | ||
``` | ||
|
||
Your app should now be running on [localhost:5000](http://localhost:5000/). | ||
|
||
## Deploying to Heroku | ||
|
||
``` | ||
heroku create | ||
git push heroku master | ||
heroku run rake db:migrate | ||
heroku open | ||
``` | ||
|
||
## Documentation | ||
|
||
For more information about using Ruby on Heroku, see these Dev Center articles: | ||
|
||
- [Ruby on Heroku](https://devcenter.heroku.com/categories/ruby) | ||
- [Getting Started with Ruby on Heroku](https://devcenter.heroku.com/articles/getting-started-with-ruby) | ||
- [Getting Started with Rails 4.x on Heroku](https://devcenter.heroku.com/articles/getting-started-with-rails4) | ||
- [Heroku Ruby Support](https://devcenter.heroku.com/articles/ruby-support) |
This file was deleted.
Oops, something went wrong.