From 3cc2bd2239ec07407c965c983dde66c62f5c4a83 Mon Sep 17 00:00:00 2001 From: Sascha Depold Date: Sat, 13 Sep 2014 20:36:56 +0200 Subject: [PATCH] Add notes about private heroku setup --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e2712fd8..1aea7645 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,29 @@ Here's a Shout server running in public mode, which allows for anonymous connect sudo npm install -g shout ``` -Or you could try: _(experimental)_ +__Experimental Heroku Deployment__ -[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy) + +In order to run your own Shout instance, just hit the following button: [![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy) + + +Please note, that this will result in a public Shout instance. In order to make it private +and to register users, you need to do these steps: + +``` +git clone git@heroku.com:.git +cd your-app +npm install +vim config.js + # set public to false + # set home to __dirname +git add config.js +git commit -m "Make shout private and use repo dir as shout home" +node src/command-line/index.js add +git add -f users/ +git commit -m "Add user " +git push heroku master +``` ## Usage