9 lines
125 B
Bash
Executable File
9 lines
125 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SOURCE_PATH="`dirname \"$0\"`"
|
|
cd "$SOURCE_PATH"
|
|
npm install
|
|
pm2 stop index.js
|
|
npm run build
|
|
pm2 start index.js
|