A tutorial website of environment protection and sustainable future.
How to run:
- Install Python 3
- Change directory
- Create virtual environment
python -m venv venv
- Activate virtual environment
Windows Command Prompt:venv/Scripts/activate
PowerShell:vanv/Scripts/Activate.ps1
Unix or MacOS:source venv/bin/activate
- Install dependencies
pip install -r requirements.txt
- Start the server
python main.py
How to stop:
- Stop the server
Ctrl
+c
- Deactivate the virtual environment
deactivate