Assuming you already have your app working locally
- Download and install Heroku Toolbelt from http://toolbelt.heroku.com
- Signup for an account at http://heroku.com
- run the command
heroku login
on your terminal and enter your credentials
web: volo serve
from
var port = 8008;
to
var port = process.env.PORT || 8008;
-
Add "volo" to the list of dependencies
"volo": "*"
-
Add the following also to the package.json
"engines": { "node": "0.8.x", "npm": "1.1.x" }
If you are in doubt check the sample package.json
attached in this gist. Oh actually just copy-paste it. :)
-
Run
heroku create
in your app's directory -
Copy the git url you get (something like... "[email protected]:serene-garden-8425.git")
-
And run the following
git remote add heroku whatever-git-url-you-got
example:
git remote add heroku [email protected]:serene-garden-8425.git
-
[if you have never used Git; trust me and copy paste the following command]
echo "node_modules" >> .gitignore && git add . && git commit -m "Initial commit" && git push heroku master