mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-02 03:18:12 +08:00
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:
@@ -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/\* ; ); \
|
||||
|
||||
Reference in New Issue
Block a user