Skip to content

Latest commit

 

History

History
295 lines (219 loc) · 9.05 KB

README.md

File metadata and controls

295 lines (219 loc) · 9.05 KB


Logo

Ecoventure

This is a project by Team  5 of A34 for the SC2006 Software Engineering Course. 

For this project, we created Ecoventure, a fitness planning application which 

users can use to help them decide on the location for their fitness activities. 

The application will take into account the user's distance from the location and the weather conditions. 

Additionally, users can accumulate points for checking-in to fitness areas that give points. 

Getting Started

  1. This project should be ideally ran with Visual Studio Code
  2. Ensure that the Python extension is installed
  3. Ensure that Python is in the Environment path
  4. Make sure that Python is the intepreter

Setting up an environment

  1. Make sure the terminal is in the directory with the venv file
  2. Run the following code in the terminal

Windows:

venv\bin\activate

Mac/Linux:

source venv/bin/activate

Installing dependencies

  1. Run the following code in the terminal

Mac:

python install_dependencies.py

Windows:

pip install -r requirements.txt

Running the code

  1. Change directory into code
cd code
  1. Run the following code in the terminal

Windows:

set FLASK_APP=main
$env:FLASK_APP = "main.py"
flask run

Mac/Linux:

export FLASK_APP=main
flask run

(back to top)