Report this

What is the reason for this report?

How to update my Django website

Posted on July 30, 2021

I published my website using DigitalOcean while following this tutorial: https://www.youtube.com/watch?v=Sa_kQheCnds&list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p&index=13 It works very well. However, I don’t know how to update my website. When I look up how to update it, everyone says to “pull using git”, but I don’t understand how to do it. I tried to clone the website to my computer by typing: “git clone example@IPaddress” in my command line but it doesn’t seem to work. Any ideas on how I can solve my problem?



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!

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.

Hello,

Is your project already pushed to GitHub? If so you could clone the project to your local PC by running the following command:

git clone https://github.com/your_github_username/your_repository_name.git

Then you could make the changes to your project locally and once you are ready you can commit and push the changes to GitHub again:

git add .
git commit -m "Your Commit Message"
git push origin main

For more information on how to get started with Git and GitHub I could suggest taking a look at this free eBook here:

Hope that this helps. Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.