mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 15:36:18 -05:00
Checking two locations for serve.
This commit is contained in:
parent
d453ef07cd
commit
998c7401c9
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ pip3 --version || (
|
|||
pip3 install -r /opt/wrolpi/requirements.txt
|
||||
|
||||
# Build React app
|
||||
[ ! -f /usr/local/bin/serve ] && npm -g install serve
|
||||
[[ ! -f /usr/local/bin/serve || ! -f /usr/bin/serve ]] && npm -g install serve
|
||||
cd /opt/wrolpi/app || exit 5
|
||||
npm install || npm install || npm install || npm install # try install multiple times
|
||||
npm run build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue