mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-19 16:14:39 +00:00
feature (framework): create the basis for the development custom backends
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user