Question

Как вносить изменения на запущенный сай

Я настроил сервер, gunicorn, nginx, подключил домен. Все работает сайт в сети. А вот как мне вносить изменения на свой сайт, ну вот допустим решил заголовок поменять. Запушил на github, оттуда стянул на сервер. Как я понял этого не достаточно, нужно еще перечень каких-то перезагрузочных команд произвести, а вот каких не знаю.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there @Egor2020,

What you could try doing is to restart your project so that you could see your latest changes:

  1. sudo systemctl restart your_project

For more information on Gunicorn, I could suggest this tutorial:

https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-18-04

Let me know how it goes! Regards, Bobby