mirror of
https://github.com/sakaljurgis/kodi-api-server.git
synced 2026-07-08 20:37:41 +00:00
add start script
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$NODE_ENV" == "production" ]; then
|
||||
echo "Starting app in production mode"
|
||||
echo "Running prebuild"
|
||||
npm run prebuild
|
||||
echo "Running build"
|
||||
npm run build
|
||||
echo "Starting app"
|
||||
npm run start:prod
|
||||
else
|
||||
echo "Starting app in development mode"
|
||||
npm run start:dev
|
||||
fi
|
||||
Reference in New Issue
Block a user