Backup / Restore
================
-To backup the database, in another terminal (or a Docker Quickstart Terminal)::
+To backup the database, in **another** terminal (or a Docker Quickstart Terminal)::
cd Manifeste
scripts/backup.sh
cd Manifeste
scripts/restore.sh
-If the app is broken after a restore script, restart the machine with::
+If the app is broken after a restore script, restart the composition with::
docker-compose restart
def clean(self):
super(Media, self).clean()
self.q = pq(self.get_html())
- self.title = self.q.attr('data-title')
sources = self.q('source')
for source in sources:
if self.open_source_mime_type in source.attrib['type']:
-# -*- coding: utf-8 -*-
+ # -*- coding: utf-8 -*-
#
# Copyright (c) 2015 Guillaume Pellerin <guillaume.pellerin@ircam.fr>