Running tests no docker - Documentation

This commit is contained in:
dhenry committed 2022-06-05 07:54:08 +02:00
1 parent 58a3d042ba
commit cd46524019
6 files changed
+80 -35

No files matched your search

-9
View File
@@ -1,9 +0,0 @@
# minimalist Nodejs server for mydraft application (https:/mydraft.cc)
## Swagger
## Installation (Docker)
## Execute
pay **ATTENTION**
View File
Whitespace-only changes.
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
## those dirs are needed
pwd
for dir in "data logs"
do
if [ -d "$dir" ];then mkdir "$dir";fi
done
# Where is node or nodejs (alpine <> debian)
NODEJS="/usr/bin/nodejs"
if [ ! -f "$NODEJS" ];then
NODEJS="/usr/bin/node"
fi
## Start application
# Parameters
# listening ip address
# listening port
# Storage: maximum size of the drawing file
# (2Mo : 2 * 1024 * 1024) = 2097152
IPADDRESS=0.0.0.0 PORT=4000 JSONMAXSIZE=2097152 $NODEJS app.js