mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-09 01:28:12 +08:00
Add client build script
This commit is contained in:
@@ -48,4 +48,5 @@ server/app/web/templates/index\.html
|
|||||||
|
|
||||||
*.egg-info
|
*.egg-info
|
||||||
dist/*
|
dist/*
|
||||||
|
build/*
|
||||||
|
|
||||||
|
|||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
npm install --prefix client/ client
|
||||||
|
npm run --prefix client build
|
||||||
|
mkdir -p server/app/web/static/img
|
||||||
|
cp client/build/index.html server/app/web/templates/
|
||||||
|
cp -r client/build/static server/app/web/
|
||||||
|
|
||||||
|
cp client/build/favicon.png server/app/web/static/img
|
||||||
|
cp client/build/service-worker.js server/app/web/static/js/
|
||||||
Reference in New Issue
Block a user