feature (framework): create the basis for the development custom backends

This commit is contained in:
Mickael Kerjean
2018-08-30 12:19:15 +10:00
parent 696b852186
commit bfacd4bcc5
12 changed files with 117 additions and 16 deletions
+10 -1
View File
@@ -10,4 +10,13 @@ build_frontend:
NODE_ENV=production npm run build
build_backend:
CGO_CFLAGS_ALLOW='-fopenmp' go build -o dist/nuage server/main.go
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ CGO_CFLAGS_ALLOW='-fopenmp' go build -o dist/nuage server/main.go
package:
rm -rf dist/
make build_backend
make build_frontend
cp -R config dist/data/config
mv dist nuage
tar -zcvf nuage.tar.gz nuage
rm -rf nuage