From 8c6a472570f0722c2d0ad130b9752dadd896e32f Mon Sep 17 00:00:00 2001 From: Markos Gogoulos Date: Thu, 21 Jan 2021 16:26:43 +0200 Subject: [PATCH] add basic update info documentation --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 1286c24c..0d9b78cf 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,19 @@ cd /home/mediacms.io/mediacms/ && bash ./install.sh The script will ask if you have a URL where you want to deploy MediaCMS, otherwise it will use localhost. If you provide a URL, it will use Let's Encrypt service to install a valid ssl certificate. +## Update + +If you've used the above way to install MediaCMS, update with the following: + +```bash +cd /home/mediacms.io/mediacms # enter mediacms directory +source /home/mediacms.io/bin/activate # use virtualenv +git pull # update code +python manage.py migrate # run Django migrations +sudo systemctl restart mediacms celery_long celery_short # restart services +``` + + ## Configure Several options are available on cms/settings.py, most of the things that are allowed or should be disallowed are described there. It is advisable to override any of them by adding it to cms/local_settings.py. All configuration options will be documented gradually on the [Configuration](docs/Configuration.md) page.