Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
/ PP2I1 Public archive

Our first year, first semester project as students at Telecom Nancy.

License

Notifications You must be signed in to change notification settings

Esteban795/PP2I1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PP2I1

Our first year, first semester project as students at Telecom Nancy.

What does it do ?

  • Runs a small website dedicated to the climate cause : optimizing routes for emptying bins and offering a way to manage the system for the administrators, as well as a shop, and authentification system and some articles on how to have a bigger impact in your own way.

Requirements

  • Python 3.10
  • Flask and Flask-login, and their dependencies.

How to install it on your computer ?

  • Just clone it wherever you want in your computer, using :
git clone https://github.com/Esteban795/PP2I1.git
  • When inside the correct folder, you can run
pip3 install -r requirements.txt

to install Flask and Flask-login, if you don't already have them.

  • If you'd rather use a virtual environment, go to the PP2I1 directory and run
python3 -m venv
./bin/activate
  • Once you're in the venv, run pip3 install -r requirements.txt.

How to use it ?

  • Run it using the basic python3 syntax. Make sure to be in the root folder of the project !
python3 ./PP2I1/src/backend/app.py
  • Open your browser and go to the adress that flask gives you. Default is 27.0.0.1:8080