mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-04 20:48:13 +08:00
* early, non-working eb config * hosted cellxgene In this PR, contains scripts and instructions for deploying cellxgene for AWS elastic beanstalk. It supports the multi-dataset option. The Makefile in the server/eb directory creates an artifact.zip file, which can be deploy at AWS EB. The server/eb directory contains: app.py - flask app to run the server Makefile - which creates an artifact.zip file which can be deployed. README.md - instructions for setting up and deploying the eb app. * hosted cellxgene (#38) In this PR, contains scripts and instructions for deploying cellxgene for AWS elastic beanstalk. It supports the multi-dataset option. The Makefile in the server/eb directory creates an artifact.zip file, which can be deploy at AWS EB. The server/eb directory contains: app.py - flask app to run the server Makefile - which creates an artifact.zip file which can be deployed. README.md - instructions for setting up and deploying the eb app. * Update how artifact.zip is created prune the server/test and server/eb directories * Remove debugging print statements * fixes from review comments * fix lint Co-authored-by: bkmartinjr <bruce@chanzuckerberg.com>
This commit is contained in:
co-authored by
bkmartinjr
parent
bdd69160e2
commit
b3e9719602
@@ -34,25 +34,13 @@ build-client:
|
||||
build-cli: build-client
|
||||
git ls-files server/ | cpio -pdm $(BUILDDIR)
|
||||
cp -r client/build/ $(CLIENTBUILD)
|
||||
mkdir -p $(SERVERBUILD)/common/web/static/img
|
||||
mkdir -p $(SERVERBUILD)/common/web/templates/
|
||||
cp $(CLIENTBUILD)/index.html $(SERVERBUILD)/common/web/templates/
|
||||
cp -r $(CLIENTBUILD)/static $(SERVERBUILD)/common/web/
|
||||
cp $(CLIENTBUILD)/favicon.png $(SERVERBUILD)/common/web/static/img
|
||||
cp $(CLIENTBUILD)/service-worker.js $(SERVERBUILD)/common/web/static/js/
|
||||
$(call copy_client_assets,$(CLIENTBUILD),$(SERVERBUILD))
|
||||
cp MANIFEST.in README.md setup.cfg setup.py $(BUILDDIR)
|
||||
|
||||
# If you are actively developing in the server folder use this, dirties the source tree
|
||||
.PHONY: build-for-server-dev
|
||||
build-for-server-dev: clean-server build-client
|
||||
mkdir -p server/common/web/static/img
|
||||
mkdir -p server/common/web/static/js
|
||||
mkdir -p server/common/web/templates/
|
||||
cp client/build/index.html server/common/web/templates/
|
||||
cp -r client/build/static server/common/web/
|
||||
cp client/build/favicon.png server/common/web/static/img
|
||||
cp client/build/service-worker.js server/common/web/static/js/
|
||||
|
||||
$(call copy_client_assets,client/build,server)
|
||||
|
||||
# TESTING
|
||||
.PHONY: test
|
||||
|
||||
Reference in New Issue
Block a user