~homeworkprod/byceps

439765126960dc9fe4ddc2e76dd67d43f9989738 — Jochen Kupperschmidt 3 years ago 5474d37
Avoid custom port for development server to simplify quickstart
1 files changed, 3 insertions(+), 3 deletions(-)

M README.rst
M README.rst => README.rst +3 -3
@@ 62,12 62,12 @@ for the Python versions specified in `tox.ini`.
Serving
=======

To spin up a server (only for development purposes!) on port 8080 with
debugging middleware and in-browser code evaluation:
To spin up a local server (only for development purposes!) on port 5000
with debugging middleware and in-browser code evaluation:

.. code:: sh

    $ BYCEPS_CONFIG=../config/development_admin.py FLASK_ENV=development flask run -p 8080
    $ BYCEPS_CONFIG=../config/development_admin.py FLASK_ENV=development flask run

In a production environment, it is recommended to have the application
served by uWSGI_ or Gunicorn_.