简体   繁体   English

如何在实时 Django 网站上进行更改?

[英]How do I make changes on a live Django website?

I have a live Django website I need to make changes on and I want to know what's the best / most correct way of updating the code of the website, I have access to the remote server and access to the git.我有一个实时 Django 网站,我需要对其进行更改,我想知道更新网站代码的最佳/最正确方法是什么,我可以访问远程服务器并访问 git。

Thanks in advance!!!提前致谢!!!

I would recommend that you keep an updated git repository of your project on GitHub and commit to it often.我建议您在 GitHub 上保留一个更新的项目 git 存储库并经常提交。

Then, when you are ready to publish your changes, pull your git repository down to your remote server.然后,当您准备好发布更改时,将您的 git 存储库下拉到您的远程服务器。 GitHub also allows you to keep a private repository for free now so no need to worry about confidentiality. GitHub 还允许您现在免费保留私人存储库,因此无需担心机密性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM