Serveur de développement FLASK START
$ export FLASK_APP=hello
$ export FLASK_ENV=development
$ flask run
Friendly Fowl
$ export FLASK_APP=hello
$ export FLASK_ENV=development
$ flask run
[Unit]
Description=A Gunicorn example to serve Flask project
After=network.target
[Service]
User=user_name
Group=www-data
WorkingDirectory=/home/user_name/webapp/project_folder
Environment="PATH=/home/user_name/webapp/bin"
ExecStart=/home/user_name/webapp/bin/gunicorn --workers 3 --bind unix:/home/user_name/webapp/project_folder/flaskapp.sock -m 007 wsgi:app
[Install]
WantedBy=multi-user.target