瀏覽代碼

added node deps

Luis Figueiredo 8 年之前
父節點
當前提交
b03eccb741
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      Makefile

+ 5 - 1
Makefile

@@ -9,14 +9,18 @@ deploy: docker
 	docker push hexasoftware.com:5000/myapp
 
 
+
 backend: distpath 
 	@echo "Building backend... "
 	GOPATH=${CURDIR}/backend go get  simple-web
 	GOPATH=${CURDIR}/backend GO_ENABLED=0 go build -o DIST/bin/server backend/src/simple-web/simple-web.go
 
+
+
 frontend: distpath 
 	@echo "Building frontend..."
-	# Frontend
+	
+	@cd frontend/web;npm i	
 	@cd frontend/web;node build/build.js
 
 test: backend #Front end has dev server