Federica 5754079a78 add testi datini per raise 2 tahun lalu
..
backup 8f419defad Merge branch 'develop' of http://dev.restore.ovi.cnr.it:3000/TEAMOVI/Parser into develop 2 tahun lalu
parsers 5754079a78 add testi datini per raise 2 tahun lalu
samples ff8ef307ed nada 2 tahun lalu
templates 4c93a6734d dynamic form v0 2 tahun lalu
venv_env 5b1785941b add new parsers 2 tahun lalu
.gitignore 2deece98f3 FORMS update 2 tahun lalu
app.py 9452776b83 Bello 2 tahun lalu
readme.md 521635e8f1 forms_readme 2 tahun lalu

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)