Skip to content
Snippets Groups Projects
Select Git revision
  • fde93f9094276413588b19dea65f7f0bfc31fded
  • main default protected
2 results

README.md

  • Tyrique Marsh's avatar
    Tyrique Marsh authored
    fde93f90
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.

    Install a virtual environment

    On Windows:

    py -3 -m venv .venv

    On MacOs/Linux:

    python3 –m venv .venv

    Activate the environment (every startup)

    On Windows:

    .venv\Scripts\activate

    on MacOS/Linux:

    . .venv/bin/activate

    With the virtual envirornment activated

    Install Flask

    pip install Flask

    Install all dependencies

    pip install -r requirements.txt

    Run your Flask application

    flask --app hello run --debug

    ---------##

    Student Number:

    OpenShift URL: https://flask-hello-world-2-c24076223-cmt120-cw2.apps.containers.cs.cf.ac.uk/