the most insecure commit I could make!

This commit is contained in:
Paul Liverman III 2018-04-23 06:06:56 -07:00
parent 8e44b6e52c
commit 6a62893606
3 changed files with 6 additions and 4 deletions

View File

@ -30,3 +30,5 @@ class Simplex extends Application
if @user
if key = APIKeys\create(@user)
return json: { success: true, :key }
[console: "/console"]: => return console.make(env: "all")(@)

View File

@ -18,7 +18,7 @@ fi
if [ -z PORT ]
then
PORT=9872
PORT=9872 # TODO fix this does not work
fi
### PREREQUISITES ###
@ -70,7 +70,7 @@ then
cd $INSTALL_DIR
fi
# sudo luarocks install luacrypto # needed for lapis, but lapis doesn't install it
sudo luarocks install luacrypto # needed for lapis, but lapis doesn't install it
sudo luarocks install lapis
sudo luarocks install moonscript
sudo luarocks install bcrypt
@ -111,7 +111,7 @@ ExecReload=$(which lapis) build production
ExecStop=$(which lapis) term
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/
WantedBy=multi-user.target" > /etc/systemd/system/simplex.service
sudo systemctl daemon-reload
sudo systemctl enable simplex.service

View File

@ -1,6 +1,6 @@
worker_processes ${{NUM_WORKERS}};
error_log stderr notice;
daemon off;
daemon on;
pid logs/nginx.pid;
events {