- python3
- python3-venv on linux
- nginx
- Open a terminal (Linux/MacOS) or a PowerShell command prompt (Windows)
- Clone the project
- Go to the directory :
cd travail-3-AlexisCode101/code/ - Create a virtual
environnement using: python -m venv venv - Activate the virtual environnement using:
source venv/bin/activateon Linux/MacOS
or.\venv\Scripts\activateon Windows - Install requirement:
pip install -r requirement.txt - Run the app :
python app.py - Change all the paths for the one of the project on your computer
- Copy the config file
horoscopeinto the foldersites-availableof NGINX folder - Now create a symbolic link of horoscope to the folder
sites-enabledof NGINX folder - Restart NGINX
- Enter the following address in your favorite browser : https://127.0.0.1/