Simple python web project with mysql, html, css, js, bootstrap
- Install python3 and other tools
a. Windows
b. Ubuntu
c. MacOs - Virtualenv (optional)
a. Windows
b. Ubuntu
c. MacOs - Download Docker image
Try python3 -v
on terminal/powershell to check if python3 is installed on your system, if installed pass to the next step.
-
sudo apt install python3
-
brew install python3
This step is optional, you can skip if you don't want to use virtualenv. On Terminal/Powershell run the following commands to install virtualenv and create a virtual environment for the project
-
pip install virtualenv cd PythonFirstWebSite virtualenv venv env\Scripts\activate
-
sudo apt install python3-venv cd PythonFirstWebSite python3 -m venv venv source venv/bin/activate
-
pip3 install virtualenv cd PythonFirstWebSite virtualenv venv source venv/bin/activate
sudo apt install python3-venv cd PythonFirstWebSite python3 -m venv venv source venv/bin/activate
-
pip3 install virtualenv cd PythonFirstWebSite virtualenv venv source venv/bin/activate
if you préfère use docker image, you can download it from [lien a mettre]