mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
* When app is uninstalled, remove config files and drop the database * Declare PUBLIC_ACCESS_FILE with pathlib.Path * Add public access file to the backup manifest Tests: 1. Install and setup wordpress 2. Reinstall the app and confirm that the initial setup page is shown to the user 3. Functional tests passed Signed-off-by: nbenedek <contact@nbenedek.me> [sunil: Update docstrings, minor refactoring] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
23 lines
494 B
Python
23 lines
494 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
clients = [{
|
|
'name': _('WordPress'),
|
|
'platforms': [{
|
|
'type': 'web',
|
|
'url': '/wordpress/'
|
|
}]
|
|
}]
|
|
|
|
backup = {
|
|
'data': {
|
|
'files': ['/var/lib/plinth/backups-data/wordpress-database.sql',
|
|
'/etc/wordpress/is_public'],
|
|
'directories': ['/var/lib/wordpress/']
|
|
},
|
|
'secrets': {
|
|
'directories': ['/etc/wordpress/']
|
|
},
|
|
}
|