mirror of
https://github.com/YunoHost-Apps/phpbb_ynh.git
synced 2024-09-03 19:56:36 +02:00
Automatic configuration
This commit is contained in:
parent
aa738a91b9
commit
e68c9a6060
2 changed files with 1 additions and 4 deletions
|
@ -15,7 +15,6 @@
|
||||||
"install" : [
|
"install" : [
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose a domain for phpBB",
|
"en": "Choose a domain for phpBB",
|
||||||
"fr": "Choisissez un domaine pour phpBB"
|
"fr": "Choisissez un domaine pour phpBB"
|
||||||
|
@ -24,7 +23,6 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "path",
|
"name": "path",
|
||||||
"type": "path",
|
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose a path for phpBB",
|
"en": "Choose a path for phpBB",
|
||||||
"fr": "Choisissez un chemin pour phpBB"
|
"fr": "Choisissez un chemin pour phpBB"
|
||||||
|
@ -52,7 +50,6 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "admin_pwd",
|
"name": "admin_pwd",
|
||||||
"type": "password",
|
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Indicate phpBB admin password",
|
"en": "Indicate phpBB admin password",
|
||||||
"fr": "Renseignez un mot de passe pour l'admin phpBB"
|
"fr": "Renseignez un mot de passe pour l'admin phpBB"
|
||||||
|
|
|
@ -38,7 +38,7 @@ sudo cp -a ../sources/french_language/* $final_path/
|
||||||
sudo chown -R www-data:www-data $final_path
|
sudo chown -R www-data:www-data $final_path
|
||||||
|
|
||||||
# Configuration of phpBB
|
# Configuration of phpBB
|
||||||
sudo curl -k -X POST \
|
curl -k -X POST \
|
||||||
-H "Host: $domain" \
|
-H "Host: $domain" \
|
||||||
--data-urlencode "dbms=mysqli" \
|
--data-urlencode "dbms=mysqli" \
|
||||||
--data-urlencode "dbhost=localhost" \
|
--data-urlencode "dbhost=localhost" \
|
||||||
|
|
Loading…
Reference in a new issue