diff options
-rwxr-xr-x | configure | 15 | ||||
-rwxr-xr-x | database/init_db.sh | 2 |
2 files changed, 15 insertions, 2 deletions
@@ -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 |