Directory/StartApp.sh

24 lines
361 B
Bash

#!/bin/bash
# cd /home/osadmin/containerdata/projects/directory
#echo "Starting App" >> ./run.log
# cd client/
# npm start >> ../client.log &
# cd ../server/
# npm start >> ../server.log &
cd /home/osadmin/directory-gitea/client/build
npx serve -s -p 21287 &
echo "Started UI"
cd /home/osadmin/directory-gitea/server
npm start &
echo "Started server"