Skip to content

Class Project for Software Requirements Course. Worked on developing the web application’s login functionality and front end designs.

Notifications You must be signed in to change notification settings

AlbertoPerez8/Disaster-Aid-Hub-Testing

Repository files navigation

Help the Homies get Relief

Installation

Setting up the virtual environment

Install virtualenv package:

$ pip install virtualenv

Create virtual environment, on project folder run:

$ virtualenv venv

Activate virtual environment by running the following command:

  • Windows:
> source \venv\Scripts\activate.bat
  • Linux/MAC OS:
$ source venv/bin/activate

Install project dependencies in the virtual environment:

(venv) ..$ pip install -r requirements.txt

Run the application

This section contains instruction son how to run the Flask application in development and debug mode enabled. Make sure to have your venv activated.

We must first specify three environment variables to tell Flask to run the application on these configurations. On the project folder, create a new file called .flaskenv In the file add the following lines.

FLASK_APP=helpthehomies.py
FLASK_ENV=development
FLASK_DEBUG=1

To run the application simply run:

(venv) ..$ flask run

(you should get something like this)
* Serving Flask app "app.py" (lazy loading)
* Environment: development
* Debug mode: on
...

About

Class Project for Software Requirements Course. Worked on developing the web application’s login functionality and front end designs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published