summaryrefslogtreecommitdiffstats
path: root/start
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2023-03-26 19:21:16 +0200
committerMaksymilian Jopek <maks@jopek.eu>2023-03-26 19:21:16 +0200
commit948a9bfc88dac8fca31742f9558780e68fa46b5f (patch)
tree9c0956bd93a17502ef11a57fc7db17dbd46fae59 /start
parent373edf54a9ac76fa47e563e8d6f0f16df49c454e (diff)
downloadisiqandisi-948a9bfc88dac8fca31742f9558780e68fa46b5f.tar.gz
isiqandisi-948a9bfc88dac8fca31742f9558780e68fa46b5f.tar.zst
isiqandisi-948a9bfc88dac8fca31742f9558780e68fa46b5f.zip
Add start and stop scriptsHEADmaster
Set node version
Diffstat (limited to 'start')
-rwxr-xr-xstart14
1 files changed, 4 insertions, 10 deletions
diff --git a/start b/start
index eab407e..854b41a 100755
--- a/start
+++ b/start
@@ -1,11 +1,5 @@
#!/bin/sh
-
-terminal=st
-# OpenInTerminal
-oit() {
- $terminal -e $@
-}
-oit "lvim src/index.ts" &
-oit "yarn serve " &
-oit "src/server/start" &
-
+npm run serve > npm.log 2>&1 &
+echo $! > npm.pid
+php -S 127.0.0.1:8001 -t src/server/ > php.log 2>&1 &
+echo $!> php.pid