Run npm install from spiri-base folder
This commit is contained in:
parent
2a2f99d407
commit
32f1d5edd1
4
Makefile
4
Makefile
@ -185,9 +185,9 @@ setup-webapp-service:
|
||||
cd /home/spiri/Spiri-Base && git pull || (echo "Error updating repository. Check network and repository access." && exit 1); \
|
||||
else \
|
||||
git clone https://git.spirirobotics.com/aepko/Spiri-Base.git /home/spiri/Spiri-Base || (echo "Error cloning repository. Check network and repository access." && exit 1); \
|
||||
cd ~/Spiri-Base && git sparse-checkout init --cone && git sparse-checkout set .output; \
|
||||
$(SUDO) npm install; \
|
||||
cd /home/spiri/Spiri-Base && git sparse-checkout init --cone && git sparse-checkout set .output; \
|
||||
fi;
|
||||
@cd /home/spiri/Spiri-Base && $(SUDO) npm install;
|
||||
@if [ -f $(CURDIR)/webapp.service ]; then \
|
||||
$(SUDO) cp $(CURDIR)/webapp.service /etc/systemd/system/webapp.service; \
|
||||
$(SUDO) systemctl enable webapp.service; \
|
||||
|
Loading…
Reference in New Issue
Block a user