S
S
Sergey Nizhny Novgorod2016-09-17 10:48:23
Django
Sergey Nizhny Novgorod, 2016-09-17 10:48:23

What needs to be rebooted in Django when updating data on the server?

Hello.
System: centos + nginx + gunicorn
Situation: I upload the updated models.py file, view.py, a couple of new static files to the hosting and do the migration and collection.
Question: What and with what commands do you need to reboot in order for everything to go? I have not yet found anything smarter than completely rebooting the entire server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2016-09-17
@Terras

supervisorctl restart myproject

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question