Ei kuvausta

kora cbf20e2ab3 not-working-yet 2 vuotta sitten
parsers d21d1614b9 choosing configurations 2 vuotta sitten
samples 89bd689074 downloads and more 2 vuotta sitten
templates d21d1614b9 choosing configurations 2 vuotta sitten
.gitignore e8bacae3db prende_forma 2 vuotta sitten
app.log e261f9235e speriamo 2 vuotta sitten
app.py cbf20e2ab3 not-working-yet 2 vuotta sitten
app.wsgi e261f9235e speriamo 2 vuotta sitten
readme.md e7570db04e FIRST 2 vuotta sitten
requirements.txt ab864c0b39 reqs 2 vuotta sitten

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)