-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into DATE_CHANGE
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#! /bin/bash | ||
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-armhf | ||
echo "PATH:" $PATH | ||
export PATH=/home/pi/.local/bin:/home/pi/lab/dev/db-derby-10.15.1.3-bin/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/snap/bin:$JAVA_HOME/bin:$PATH | ||
|
||
echo "Updated PATH:" $PATH | ||
echo "java home:" $JAVA_HOME | ||
echo "node version:"`node --version` | ||
echo "current working dir:" `pwd` | ||
cd /home/pi/lab/myapp/assetz/assetz-ui | ||
echo "changed the workinng directory to:" `pwd` | ||
echo "serve version:" `serve --version` | ||
nohup serve -s build > app.log 2>&1 & | ||
|
||
echo "successfully started the assetz node server.." |