The PurBeurre application is intended to assist a user in their migration to a healthier diet. This command line application will thus enable him to select foods using a menu system and will offer him one or more more substitutes in order to guide him in these culinary choices.
The PurBeurre application was developed using Python 3.8. It does not depend on this version however. A python newer than python 3.6 is required.
To install the dependencies, the user will need to install the pipenv
package using the python3 -m pip install pipenv
The application can be installed by following the following steps:
- Download the project from https://github.com/gokujj/projet5
- Go to the project directory with the terminal
- Install dependencies using the
pipenv install
- Create a user and a database on mysql
- Modify the
settings.py
file and indicate the user name, the password as well as the name of the database in the constants provided for this purpose. - For launch app first start virtual environement
pipenv shell
- Install app
python3 install.py
and start apppython3 -m purbeurre