- Activate virtual environment by running
venv/Scripts/activate
- On VS Code you can just open a new terminal, the venv will be activated automatically
- Deactivate virtual environment by running
deactivate
- Install new packages by running
pip install <package_name>
- When a new package is installed, run
pip freeze
and copy the output to therequirements.txt
file - Install all the packages from the
requirements.txt
file by runningpip install -r requirements.txt
- Uninstall packages with
pip-autoremove <package_name> -y
- Activate virtual environment -
venv/Scripts/activate
- Install required packages -
pip install -r requirements.txt
- Start the server -
npm start