fix: scripts
update the scripts to source ~/.bashrc in hopes of making sure that npm, turbo, etc. are available
This commit is contained in:
parent
650b09e2c8
commit
227df50f31
2 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ STATIC_DIR=$2
|
|||
BACKEND_DIR=$3
|
||||
|
||||
pwd
|
||||
source ~/.bashrc # make sure NPM commands etc are available
|
||||
npm i -g pnpm && pnpm setup
|
||||
which pm2 || pnpm i pm2 -g
|
||||
cd $SOURCE_DIR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue