Report this

What is the reason for this report?

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

Posted on November 20, 2020

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



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.

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

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.