mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 12:03:11 +00:00
Add notes about private heroku setup
This commit is contained in:
parent
b3b36282aa
commit
3cc2bd2239
1 changed files with 22 additions and 2 deletions
24
README.md
24
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:<your-app>.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 <username>
|
||||
git add -f users/<username>
|
||||
git commit -m "Add user <username>"
|
||||
git push heroku master
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
Loading…
Reference in a new issue