From: Philipp Spitzer Date: Mon, 22 Jun 2020 18:44:34 +0000 (+0200) Subject: Rename readme.txt to readme.md X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wradmin.git/commitdiff_plain/91d21121d311c4680caac2be51299873b3fb138f Rename readme.txt to readme.md --- diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..0677e90 --- /dev/null +++ b/readme.md @@ -0,0 +1,26 @@ +This web application uses flask (http://flask.pocoo.org/) and Python 3. + +Run the application: +$ FLASK_APP=wradmin FLASK_DEBUG=1 FLASK_ENV=development WRADMIN_SETTINGS=development.cfg python3 -m flask run +$ FLASK_APP=wradmin WRADMIN_SETTINGS=production.cfg python3 -m flask run + +Test the application +PYTHONPATH=. FLASK_APP=wradmin WRADMIN_SETTINGS=test.cfg python3 -m unittest + +Run the shell: +$ FLASK_APP=wradmin FLASK_DEBUG=1 WRADMIN_SETTINGS=development.cfg python3 -m flask shell + +ipython shell: +$ FLASK_APP=wradmin FLASK_DEBUG=1 WRADMIN_SETTINGS=development.cfg ipython +>>> import wradmin.model +>>> wradmin.model.meta.Session.query(wradmin.model.MwUser).get(1) + +Deploy: +Development environmen: +$ python setup.py bdist_wheel +$ scp bdist/wradmin-2.1.0.dev0-py3-none-any.whl colleen: +Server environment: +$ bin/wradmin stop +$ pip uninstall wradmin +$ pip install wradmin-2.1.0.dev0-py3-none-any.whl # or similar +$ bin/wradmin start diff --git a/readme.txt b/readme.txt deleted file mode 100644 index 0677e90..0000000 --- a/readme.txt +++ /dev/null @@ -1,26 +0,0 @@ -This web application uses flask (http://flask.pocoo.org/) and Python 3. - -Run the application: -$ FLASK_APP=wradmin FLASK_DEBUG=1 FLASK_ENV=development WRADMIN_SETTINGS=development.cfg python3 -m flask run -$ FLASK_APP=wradmin WRADMIN_SETTINGS=production.cfg python3 -m flask run - -Test the application -PYTHONPATH=. FLASK_APP=wradmin WRADMIN_SETTINGS=test.cfg python3 -m unittest - -Run the shell: -$ FLASK_APP=wradmin FLASK_DEBUG=1 WRADMIN_SETTINGS=development.cfg python3 -m flask shell - -ipython shell: -$ FLASK_APP=wradmin FLASK_DEBUG=1 WRADMIN_SETTINGS=development.cfg ipython ->>> import wradmin.model ->>> wradmin.model.meta.Session.query(wradmin.model.MwUser).get(1) - -Deploy: -Development environmen: -$ python setup.py bdist_wheel -$ scp bdist/wradmin-2.1.0.dev0-py3-none-any.whl colleen: -Server environment: -$ bin/wradmin stop -$ pip uninstall wradmin -$ pip install wradmin-2.1.0.dev0-py3-none-any.whl # or similar -$ bin/wradmin start