Keine Beschreibung

www-data f4581da350 speriamo_2 vor 2 Jahren
parsers b16ee56bcb style vor 2 Jahren
samples e261f9235e speriamo vor 2 Jahren
templates b16ee56bcb style vor 2 Jahren
venv 071db4349b add new configuration file for archivial data vor 2 Jahren
.gitignore f4581da350 speriamo_2 vor 2 Jahren
app.log e261f9235e speriamo vor 2 Jahren
app.py 4282176b6f Modifiche_pro_deploy vor 2 Jahren
app.wsgi e261f9235e speriamo vor 2 Jahren
readme.md e7570db04e FIRST vor 2 Jahren
requirements.txt e261f9235e speriamo vor 2 Jahren

readme.md

To get flask running (use Python 3!):

  1. [Optional but recommendend] Create and activate virtual environment by:

    • Going to the FORMS subdirectory
    • Executing: python (or python3 or py depending on your system) -m venv [virtual_environment_name]
    • Executing: source [virtual_environment_name]/bin/activate
  2. Install Flask by executing:

    • pip install flask
  3. [Optional] Activate Debug Mode by setting the environment variable:

    • FLASK_ENV=development (for instance by executing export FLASK_ENV=development in bash)
  4. Start the app by executing:

    • flask run

(vscode can do 3. and 4. automatically, and possibly the venv setup too)