Skip to content
Browse files

Fix #3 - Add foreman instructions to readme

  • Loading branch information...
1 parent 427a354 commit 9c5c4d5014fda6e65d19f01dbdee989e91fcbbf4 @jpennell jpennell committed Oct 27, 2012
Showing with 26 additions and 0 deletions.
  1. +26 −0 README.md
View
26 README.md
@@ -57,6 +57,32 @@ export PORT=5000
python musik.py
```
+##Using Foreman (Optional)
+
+Foreman comes prepackaged with the [Heroku Toolbelt](https://toolbelt.heroku.com/). Install it.
+
+Create a ```.env``` file in your project directory
+
+``` bash
+cd musik
+touch .env
+```
+
+Add any environment variables you wish to your ```.env``` file, here is an example file.
+
+```
+PORT=5555
+SOME_VAR=blah-blah-blah
+```
+
+Start up the Musik server using foreman
+
+``` bash
+foreman start
+```
+
+Stop the Musik server when running in foreman by hitting ```ctrl-c```
+
##Contributing
1. Fork this repo

0 comments on commit 9c5c4d5

Please sign in to comment.
Something went wrong with that request. Please try again.