mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Adding date to submitted questions, sqlite insert fixes
This commit is contained in:
parent
e561cc871b
commit
db51e5f202
5 changed files with 12 additions and 6 deletions
|
@ -31,9 +31,14 @@ makeNextSubmodule() {
|
|||
npm audit fix
|
||||
npm run export
|
||||
popd
|
||||
ln -sf "$PWD/submodules/${1}/out" "$PWD/nextStatic/${2}"
|
||||
linkTarget="$PWD/nextStatic/${2}"
|
||||
if [ ! -f "${linkTarget}" ]; then
|
||||
ln -sf "$PWD/submodules/${1}/out" "${linkTarget}"
|
||||
fi
|
||||
}
|
||||
|
||||
./setup.sh
|
||||
|
||||
log "Making project"
|
||||
npm install
|
||||
npm audit fix
|
||||
|
|
|
@ -21,11 +21,9 @@ elif [ "$1" == "stop" ]; then
|
|||
docker stop $(getContainerId)
|
||||
elif [ "$1" == "start" ]; then
|
||||
# --entrypoint bash \
|
||||
scripts/setup.sh
|
||||
docker start -i $(getContainerId)
|
||||
elif [ "$1" == "run" ]; then
|
||||
# --entrypoint bash \
|
||||
scripts/setup.sh
|
||||
docker run -it \
|
||||
-p 8080:80 \
|
||||
--mount src="$(pwd)/stats",target=/server/stats,type=bind \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue