Add support to include static files into the eb deployment (#1305)

Mostly this is just instructions for how to do this,
with a small addition to the makefile.
This enables support for serving the about_legal_tos and about_legal_privacy
from the cellxgene server.
This commit is contained in:
bmccandless
2020-03-26 15:03:37 -07:00
committed by GitHub
parent 8c0480b0bc
commit 54a75ffd7e
2 changed files with 47 additions and 15 deletions
+4
View File
@@ -23,6 +23,10 @@ build: clean
if [ -f config.yaml ] ; then \
cp config.yaml artifact.dir; \
fi; \
if [ -d static ] ; then \
mkdir -p artifact.dir/server/common/web/static/deploy; \
cp -r static/* artifact.dir/server/common/web/static/deploy; \
fi; \
(cd artifact.dir; \
cp -r server/common/web/static static; \
zip -r ../artifact.zip . --exclude server/test/\* server/eb/\* ; ); \