Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aon4o/apartments-flask_web_app

A repository for a school project. Subject: Software Development. Project: Flask Web Application.
https://github.com/aon4o/apartments-flask_web_app

flask python3 school sqlite3 webapp

Last synced: about 3 hours ago
JSON representation

A repository for a school project. Subject: Software Development. Project: Flask Web Application.

Awesome Lists containing this project

README

        

Apartments-Flask_Web_App

A repository for a school project.
Subject: Software Development.
Project: Flask Web Application.

Running a flask server in Debug mode:



  • export FLASK_APP={router_name}.py

  • export FLASK_ENV=development

  • export FLASK_DEBUG=1

  • python -m flask run

requirements.txt


This is a file with the required Python modules for installing the project.
They will be automatically installed after running the following command:


  • python3 -m pip install -r requirements.txt

!!! flask_uploads.py from module Flask-Uploads is edited


Instead of "from werkzeug import secure_filename, FileStorage" we have:



  • from werkzeug.utils import secure_filename

  • from werkzeug.datastructures import FileStorage


That fixes a strange ImportError.