VirtualEnv - Should I ignore the venv folder? VirtualEnv - Should I ignore the venv folder? python python

VirtualEnv - Should I ignore the venv folder?


You should add it to gitignore file.Then, you should create requirements.txt file and populate it with the packages you have installed. Then, on your production server, create the virtual environment and run pip install -r requirements.txt.

Read this to learn more about the requirements file.