Skip to content
Snippets Groups Projects
Select Git revision
  • f48ff1dc6283a5a96e027b9d32d49f2b78a0fa9a
  • main default protected
  • Gabes-testing-branch
  • 81-as-a-child-i-want-a-very-flashy-and-modern-looking-webpage-that-will-draw-me-in-and-keep-me
  • locationApporvalFormValidationUpdate
  • 74-as-a-user-i-want-to-see-a-page-of-local-authorities-so-that-i-can-easily-source-contact-details
  • businesses
  • 77-as-a-user-i-want-to-be-able-to-use-the-application-on-any-device-e-g-iphone-ipad-laptop
  • 69-as-a-user-i-would-like-a-town-specific-page-which-shows-all-trails-for-that-town-so-that-i-can
  • 80-as-a-convenience-enthusiast-i-want-a-drop-down-menu-to-be-able-to-quickly-scan-qr-codes-i-find
  • 82-as-a-site-admininstrator-i-want-to-be-able-to-review-submited-trail-checkpoints-by-bussiness
  • 68-as-a-user-i-would-like-to-see-a-map-containing-all-landmarks-for-a-trail-and-a-suggested-path
  • 70-as-a-repeat-trail-visitor-i-want-to-be-able-to-create-an-account-so-i-can-save-and-review-my
  • towns
  • DTFrontEnd
  • 52-as-a-user-i-would-like-to-see-a-map-of-the-landmarks-so-that-i-can-figure-out-where-to-go
  • 73-as-a-qr-scanning-connoisseur-i-want-to-unlock-stickers-after-scanning-a-qr-code-to-feel-a-sense
  • QRCodes
  • consumers
  • foreignkeys
  • cleanup
21 results

client-project

  • Clone with SSH
  • Clone with HTTPS
  • Name Last commit Last update
    blog
    .gitignore
    README.md
    requirements.txt
    wsgi.py

    Flask - blog

    Student Number: 21107895

    CHECKSUM of last commit: 4ca5f6cb

    URL: http://blog-21107895-cmt-120-cw-2-git-blog-21107895.apps.openshift.cs.cf.ac.uk/

    Initial Project Setup Required:

    to create a virtual environment (first run only)

    • on Windows:
    python -m venv venv
    • on *nix:
    python3 -m venv venv

    to activate the environment (every startup)

    • on Windows:
    venv/Scripts/activate
    • on *nix:
    source venv/bin/activate

    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

    Running the project

    • to run (after venv/Scripts/activate and specifying FLASK_APP=...; as well FLASK_ENV=development - if desired)
    flask run