How to configure droplet to use my existing Django project ?

I have created a droplet. This droplet is all set up with Python, Django, and Postgres. Now I want this droplet to use my existing django project instead of dummy django project that is live on my droplet. How can I do this ?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

What I could suggest is to create a private GitHub repository and push your existing project there.

Then on your Droplet, you could use the git clone command and clone your project from GitHub to the Droplet and change the dummy files with your actual project.

After that you could still make the changes to your local project and then push them to GitHub and pull them to your Droplet.

Let me know how it goes!

Alternatively you could use the DigitalOcean App platform as it would automate the whole process for you:

Regards, Bobby