diff --git a/server/eb/Makefile b/server/eb/Makefile index a51ccdce..3c9c5b4a 100644 --- a/server/eb/Makefile +++ b/server/eb/Makefile @@ -34,7 +34,8 @@ build: clean cp customize/requirements.txt artifact.dir; \ fi ; \ if [ -d customize/deploy ] ; then \ - cp -r customize/deploy artifact.dir/server/common/web/static; \ + mkdir -p artifact.dir/server/common/web/static/cellxgene; \ + cp -r customize/deploy artifact.dir/server/common/web/static/cellxgene; \ fi; \ if [ -d customize/inline_scripts ] ; then \ cp -r customize/inline_scripts/* artifact.dir/server/common/web/templates; \ diff --git a/server/eb/README.md b/server/eb/README.md index 2e7827c9..f4209f15 100644 --- a/server/eb/README.md +++ b/server/eb/README.md @@ -95,7 +95,7 @@ To use this feature, do the following: * In this directory, create a sub directory called "customize/deploy/". * Copy the files you want to serve into this directory -* modify your configuration file to set the location to these file: /static/deploy/ +* modify your configuration file to set the location to these file: /static/cellxgene/deploy/ Example: you want to include an "about_legal_tos" and "about_legal_privacy" page to cellxgene. Assume files called "tos.html" and "privacy.html" exist. @@ -106,9 +106,9 @@ $ cp /tos.html customize/deploy/tos.html $ cp /privacy.html customize/deploy/privacy.html # edit config.yaml -$ grep "/static/deploy" config.yaml -about_legal_tos: /static/deploy/tos.html -about_legal_privacy: /static/deploy/privacy.html +$ grep "/static/cellxgene/deploy" config.yaml +about_legal_tos: /static/cellxgene/deploy/tos.html +about_legal_privacy: /static/cellxgene/deploy/privacy.html ``` #### Inline javascript scripts