Skip to content
Snippets Groups Projects
Select Git revision
  • c24398064ea2f55c9df8d21c87858a25e593d232
  • main default protected
  • Zhicheng_Liu
  • changlin
  • test
  • yintao
  • junhao
  • ziyan
  • zero
9 results

cmt313_week5

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Zero authored
    c2439806
    History
    Name Last commit Last update
    README.md

    Flask - Labs

    This repository covers exercises in Flask labs.

    Click on the relevant tag to access a snapshot of the state of the Blog project at a particular point of the lab tasks completion.

    Contents:

    Lab Functionality Git Tag
    1.1 Basic "Hello World!" page part 1.1
    1.2 Basic templating, routes, navigation and styling part 1.2
    1.3 Reorganising the project for Blogging Website part 1.3
    2.1 Blogging Website: database implementation, dynamic home page part 2.1
    2.2 Blogging Website: individual post pages part 2.2
    3.1 Blogging Website: user accounts part 3.1
    3.2 Blogging Website: validation part 3.2
    4.0 Blogging Website: deployment on OpenShift part 4.0

    Initial Project Setup Required:

    • activation of virtual environment (see the lab instructions)
    • installation of the necessary project dependencies

    Project Dependencies:

    • to install a particular library:
    pip install <LIBRARY>

        e.g.: pip install flask

    • to install all dependencies recursively from requirements.txt file:
    pip install -r requirements.txt
    • to see all installed dependencies in the console:
    pip freeze
    • to save the project dependencies in requirements.txt file:
    pip freeze > requirements.txt