From 895d716edab894e83cb01be80cdfa40bad4c8583 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sat, 22 Apr 2017 01:39:22 +0200 Subject: [PATCH 1/2] Update install --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index 6f185e6..ed27c33 100644 --- a/scripts/install +++ b/scripts/install @@ -160,6 +160,9 @@ sudo sed -i "s@__SECRET__@$secret@g" $final_path/config.json sudo sed -i "s@dbuser@$dbuser@g" $final_path/config.json sudo sed -i "s@dbname@$dbname@g" $final_path/config.json sudo sed -i "s@dbpass@$dbpass@g" $final_path/config.json +sudo sed -i "s@admin_email@$admin_email@g" $final_path/config.json +sudo sed -i "s@admin_name@$admin_name@g" $final_path/config.json +sudo sed -i "s@admin_pass@$admin_pass@g" $final_path/config.json #================================================= # CONFIGURE NODEBB From 9db58f87d0c7025d527de986506f46d352c7bf53 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sat, 22 Apr 2017 01:39:54 +0200 Subject: [PATCH 2/2] Update config.json --- conf/config.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/conf/config.json b/conf/config.json index d4f1af4..4384a27 100644 --- a/conf/config.json +++ b/conf/config.json @@ -8,5 +8,11 @@ "username": "dbuser", "password": "dbpass", "database": "dbname" - } + }, + "admin": { + "email": "admin_email", + "username": "admin_name", + "password": "admin_pass", + "password:confirm": "admin_pass" + } }