This commit is contained in:
ntr
2019-08-18 17:58:58 +10:00
parent 69cfd60646
commit 1b16c6062a
6 changed files with 33 additions and 5 deletions
+1
View File
@@ -18,3 +18,4 @@ cd $MNML_PATH/acp
rm -rf dist
npm i
npm run build
mv dist/* $MNML_PATH/client/dist/
Executable
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# POSTGRES SETUP
sudo -u postgres createdb mnml
sudo -u postgres createuser --encrypted mnml
PG_PASSWORD=$(openssl rand -hex 16)
echo "database password is $PG_PASSWORD"
sudo -u -E postgres psql -c "alter user mnml with encrypted password '$PG_PASSWORD';"
+2
View File
@@ -19,6 +19,8 @@ fi
source $MNML_CONF
# sudo certbot certonly --nginx -d mnml.gg -d acp.mnml.gg
# /var/lib/mnml
# contains img data, builds
sudo mkdir -p /var/lib/mnml/client