~homeworkprod/byceps

5abeecb9b1032f0c533b8c496bc03b2bab7ee732 — Jochen Kupperschmidt a month ago ef1885e
Use `--debug` instead of deprecated `FLASK_ENV=development`

Debug mode implies `--debugger --reload`, so that is redundant.
3 files changed, 3 insertions(+), 3 deletions(-)

M README.rst
M docs/running/admin.rst
M docs/running/site.rst
M README.rst => README.rst +1 -1
@@ 101,7 101,7 @@ evaluation:

.. code:: sh

    (venv)$ BYCEPS_CONFIG=../config/development.py APP_MODE=admin FLASK_ENV=development flask run
    (venv)$ BYCEPS_CONFIG=../config/development.py APP_MODE=admin flask --debug run

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

M docs/running/admin.rst => docs/running/admin.rst +1 -1
@@ 9,7 9,7 @@ server for development purposes:

.. code-block:: sh

   (venv)$ BYCEPS_CONFIG=../config/development.py APP_MODE=admin FLASK_ENV=development flask run --debugger --reload
   (venv)$ BYCEPS_CONFIG=../config/development.py APP_MODE=admin flask --debug run

The admin application should now be reachable at
`<http://127.0.0.1:5000>`_ (on Flask's standard port).

M docs/running/site.rst => docs/running/site.rst +1 -1
@@ 10,7 10,7 @@ the admin application):

.. code-block:: sh

   (venv)$ BYCEPS_CONFIG=../config/development.py APP_MODE=site SITE_ID=cozylan FLASK_ENV=development flask run --debugger --reload --port 5001
   (venv)$ BYCEPS_CONFIG=../config/development.py APP_MODE=site SITE_ID=cozylan flask --debug run --port 5001

The application for site ``cozylan`` should now be reachable at
`<http://127.0.0.1:5001>`_.