I am a novice developer, I have recently started my journey with developing full web app projects with Django, and have just finished my first one. It’s a simple full-stack web app written with Django, and I have come across an impasse.
How can I prepare my Django Project for deployment?
-In essence, the question is, how can I remove any personal local machine information from any files within my project directory, it seems that there are cases when the PATH of my local machine python files is mentioned within the venv and in other directories. Should I just remove the venv as a whole before deploying it and manually delete all local machine references?
The second question is, how can I deploy my project via VPS?
-Previously I have used shared hosting and it was fairly straightforward to have everything deployed, however now I am tasked with deploying it on a VPS with an Easy-Panel set up. This is less of a priority for a question, I believe I’ll be able to figure it out on my own, but if you have any advice, I would be very grateful for it!
I haven’t attempted to resolve this as of yet, as I was afraid of making larger mistakes, and thus came here directly to inquire whether I am proceeding in the right direction.
CrumblyPringle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.