Skip to content

Commit

Permalink
merge mgirations and restart celery_beat in update procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
neoflex committed Aug 5, 2019
1 parent 00d8c18 commit decd5f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ In addition when the DAISY is updated or configurations are changed (including t
```bash
sudo systemctl restart gunicorn
sudo systemctl restart celery_worker
sudo systemctl restart celery_beat
```

# Setting up reminders
Expand Down Expand Up @@ -519,7 +520,8 @@ As root user:
```bash
systemctl stop gunicorn
systemctl stop celery_worker
systemctl stop celery_worker
systemctl stop celery_beat
tar -cvf /tmp/daisy.tar /home/daisy
sudo su -c 'PGPASSWORD="<PASSWORD_OF_POSTGRES_USER>" pg_dump elixir_daisy --port=5432 --username=daisy --clean > daisy_dump.sql' - daisy
```
Expand Down Expand Up @@ -555,4 +557,5 @@ As root user:
```bash
systemctl start gunicorn
systemctl start celery_worker
systemctl start celery_beat
```
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class Migration(migrations.Migration):

dependencies = [
('core', '0008_auto_20190802_1526'),
('core', '0009_storage_duration'),
]

operations = [
Expand Down

0 comments on commit decd5f6

Please sign in to comment.