We know that we have to create a virtual environment to host django etc, but the question that I ask myself is if when I return to the web and tweak things inside where the project is, do I have to be inside the virtual environment? I say this because I have access to everything as a non-root sudo user without having to activate the virtual environment.or is it only during the creating and setting up phase?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
The virtual environment is only necessary to run either the django test server (runserver) or the deployment server where your website will be running, for example Nginx. You can modify the project code while the test server is running (django reloads automatically).
Here my video tutorials can help you (English subtitles): https://www.youtube.com/channel/UCwH_HDL-Ii5NDnYp1EZVvYw?view_as=subscriber
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.