From a5537cb8ae47d7e7b186dcde7a8d953820d4c4b3 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 9 May 2014 12:01:04 -0400 Subject: [PATCH] Update heroku.rst --- docs/installing/cloud/heroku.rst | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/docs/installing/cloud/heroku.rst b/docs/installing/cloud/heroku.rst index 6787aecfee..6662d0b22b 100644 --- a/docs/installing/cloud/heroku.rst +++ b/docs/installing/cloud/heroku.rst @@ -21,17 +21,30 @@ Heroku * The server is ``fishyfish.redistogo.com`` * The port is ``12345`` * The password is ``h28h3wgh37fns7`` -11. Create a Procfile for Heroku: ``echo "web: node app.js" > Procfile`` -12. Commit the Procfile: + +12. Add the following two packages to the ``dependencies`` section of your ``package.json``: + +.. code:: json + + "dependencies": { + ... + "nodebb-plugin-dbsearch": "0.0.9", + "redis": "~0.10.1", + "connect-redis": "~1.4" + }, + "devDependencies": { + +13. Create a Procfile for Heroku: ``echo "web: node app.js" > Procfile`` +14. Commit the Procfile: .. code:: bash git add -f Procfile config.json public/config.json && git commit -am "adding Procfile and configs for Heroku" -13. Push to heroku: ``git push heroku master`` +15. Push to heroku: ``git push heroku master`` * Ensure that a proper SSH key was added to your account, otherwise the push will not succeed! -14. Initialise a single dyno: ``heroku ps:scale web=1`` -15. Visit your app! +16. Initialise a single dyno: ``heroku ps:scale web=1`` +17. Visit your app! If these instructions are unclear or if you run into trouble, please let us know by `filing an issue `_.