Skip to content

Commit

Permalink
Removed reference to rivers dataset, changed port to 5000
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinke Hoekstra committed Feb 2, 2015
1 parent e2e0bcd commit 8c61c3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ In short, it is a very lightweight Python-based alternative to Pubby (with a sli
* Rename `config-template.py` to `config.py`
* Make the appropriate settings in the file (documentation is inline)
* Start it with `python run.py` if you're playing around, otherwise
* Adjust the `gunicorn_config.py` for your system, and start brwsr with `gunicorn -c gunicorn_config.py app:app` to run in daemon mode on port 5400 (behind e.g. an Apache or Nginx proxy)
* Adjust the `gunicorn_config.py` for your system, and start brwsr with `gunicorn -c gunicorn_config.py app:app` to run in daemon mode on port 5000 (behind e.g. an Apache or Nginx proxy)


#### Example Nginx configuration for use with Gunicorn:
Expand Down
8 changes: 4 additions & 4 deletions src/gunicorn_config.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
workers = 1
worker_class = 'socketio.sgunicorn.GeventSocketIOWorker'
bind = '0.0.0.0:5400'
pidfile = '/tmp/gunicorn-rivers.pid'
bind = '0.0.0.0:5000'
pidfile = '/tmp/gunicorn-brwsr.pid'
debug = True
loglevel = 'debug'
errorlog = '/tmp/gunicorn_rivers_error.log'
accesslog = '/tmp/gunicorn_rivers_access.log'
errorlog = '/tmp/gunicorn_brwsr_error.log'
accesslog = '/tmp/gunicorn_brwsr_access.log'
daemon = True

0 comments on commit 8c61c3a

Please sign in to comment.