From 798a1fb4ef44c5c3bd54663b1ad6ba281dca4bc1 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 24 Feb 2021 10:50:56 +0100 Subject: updated ./configure --- configure | 15 ++++++++++++++- database/init_db.sh | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 339b91d..9520d8d 100755 --- a/configure +++ b/configure @@ -1,6 +1,19 @@ +sudo apt-get install nodejs npm python3 python3-venv python3-pip make gcc sqlite3 nginx + npm i -g typescript yarn +yarn + python -m venv venv source venv/bin/activate pip install -r requirements.txt -yarn + +cd database +sh init_db.sh +cd .. + +cd voerbak +make +cd .. + +sed "s/user nobody/user $(whoami)/" -i ./nginx.conf diff --git a/database/init_db.sh b/database/init_db.sh index 0c5515b..4dd7b99 100755 --- a/database/init_db.sh +++ b/database/init_db.sh @@ -1 +1 @@ -sqlite3 database.db < init_db.sql +sqlite3 database.db < ./init_db.sql -- cgit v1.2.3