kora 238c4886d2 replaced parser in FORMS 2 years ago
..
parser 238c4886d2 replaced parser in FORMS 2 years ago
templates bab5302a6c Update for changes 2 years ago
venv bab5302a6c Update for changes 2 years ago
.gitignore 5b5d9907ac suffer 2 years ago
action_page.php 2ab61361dd First feature commit 2 years ago
app.py 5b5d9907ac suffer 2 years ago
readme.md 521635e8f1 forms_readme 2 years ago

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)