Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

Commit

Permalink
Remove usage of flask debug server
Browse files Browse the repository at this point in the history
  • Loading branch information
56quarters committed Oct 31, 2015
1 parent abab5b1 commit 1e990b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
2 changes: 0 additions & 2 deletions avalon/app/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@
print("Caught SIGINT during bootstrap, exiting", file=sys.stderr)
sys.exit(1)

if __name__ == '__main__':
application.run(debug=True, use_reloader=False)
16 changes: 4 additions & 12 deletions doc/source/developers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,10 @@ Install the checkout in "development mode".
Running The Server
~~~~~~~~~~~~~~~~~~

The Avalon Music Server WSGI application can be run using the builtin Flask
development server or it can be run with Gunicorn (which was installed above
from the ``requirements-prod.txt`` file). Make sure that you have entered the
virtualenv you created earlier.

Running with the development server:

.. code-block:: bash
$ python -m avalon.app.wsgi
Or, run with Gunicorn:
The Avalon Music Server WSGI application can be run with Gunicorn (which
was installed above from the ``requirements-prod.txt`` file) or any other
WSGI application server. Make sure that you have entered the virtualenv
you created earlier.

.. code-block:: bash
Expand Down

0 comments on commit 1e990b4

Please sign in to comment.