From e9563e5b0b279671ce088048c67bace2ab0614dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 17 Jan 2023 22:54:03 +0100 Subject: [PATCH 1/5] Cleaning --- scripts/backup | 1 - scripts/restore | 1 - 2 files changed, 2 deletions(-) diff --git a/scripts/backup b/scripts/backup index cea1313..9a45c9f 100755 --- a/scripts/backup +++ b/scripts/backup @@ -31,7 +31,6 @@ app=$YNH_APP_INSTANCE_NAME final_path=$(ynh_app_setting_get --app=$app --key=final_path) domain=$(ynh_app_setting_get --app=$app --key=domain) db_name=$(ynh_app_setting_get --app=$app --key=db_name) -phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) datadir=$(ynh_app_setting_get --app=$app --key=datadir) #================================================= diff --git a/scripts/restore b/scripts/restore index 05198d4..e8bd14c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -33,7 +33,6 @@ path_url=$(ynh_app_setting_get --app=$app --key=path) final_path=$(ynh_app_setting_get --app=$app --key=final_path) db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name -phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) datadir=$(ynh_app_setting_get --app=$app --key=datadir) #================================================= From 04b20d6a434584ebeb887f6be36db485d500fbeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 17 Jan 2023 23:04:45 +0100 Subject: [PATCH 2/5] Update DISCLAIMER.md --- doc/DISCLAIMER.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index c9ae32d..7432c86 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1 +1,9 @@ This project is still young and isn't, at the moment, very stable, so please proceed with caution when running in production. + +Generate the admin code with 'sudo -u bookwyrm /var/www/bookwyrm/venv/bin/python3 /var/www/bookwyrm/manage.py admin_code', +and copy the admin code to use when you create your admin account. You can get your code +at any time by re-running that command. Here's an example output: +******************************************* +Use this code to create your admin account: +c6c35779-af3a-4091-b330-c026610920d6 +******************************************* From 1cc39596447966b470956f3fae859e1c4f8d6174 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 17 Jan 2023 22:04:49 +0000 Subject: [PATCH 3/5] Auto-update README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 7c0075d..184ede2 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,14 @@ BookWyrm is a social network for tracking your reading, talking about books, wri This project is still young and isn't, at the moment, very stable, so please proceed with caution when running in production. +Generate the admin code with 'sudo -u bookwyrm /var/www/bookwyrm/venv/bin/python3 /var/www/bookwyrm/manage.py admin_code', +and copy the admin code to use when you create your admin account. You can get your code +at any time by re-running that command. Here's an example output: +******************************************* +Use this code to create your admin account: +c6c35779-af3a-4091-b330-c026610920d6 +******************************************* + ## Documentation and resources * Official app website: From 834806f8eb6db846d676cf2d417d6333b1b26867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 17 Jan 2023 23:06:06 +0100 Subject: [PATCH 4/5] Update DISCLAIMER.md --- doc/DISCLAIMER.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 7432c86..d0d6c25 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -3,7 +3,9 @@ This project is still young and isn't, at the moment, very stable, so please pro Generate the admin code with 'sudo -u bookwyrm /var/www/bookwyrm/venv/bin/python3 /var/www/bookwyrm/manage.py admin_code', and copy the admin code to use when you create your admin account. You can get your code at any time by re-running that command. Here's an example output: +``` ******************************************* Use this code to create your admin account: c6c35779-af3a-4091-b330-c026610920d6 ******************************************* +``` \ No newline at end of file From 1961fe29e9c8fd10fe8713707946c29e48817f82 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 17 Jan 2023 22:06:17 +0000 Subject: [PATCH 5/5] Auto-update README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 184ede2..1e38e8f 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,12 @@ This project is still young and isn't, at the moment, very stable, so please pro Generate the admin code with 'sudo -u bookwyrm /var/www/bookwyrm/venv/bin/python3 /var/www/bookwyrm/manage.py admin_code', and copy the admin code to use when you create your admin account. You can get your code at any time by re-running that command. Here's an example output: +``` ******************************************* Use this code to create your admin account: c6c35779-af3a-4091-b330-c026610920d6 ******************************************* - +``` ## Documentation and resources * Official app website: