Add backed script to package.json (#566)

* QOL script for FE devs to get & launch the backend

* ensure python3.6

* changed name to backend-dev
This commit is contained in:
Charlotte Weaver
2019-01-29 11:41:05 -08:00
committed by GitHub
parent 07db2eb3ee
commit d31c05c970
+1
View File
@@ -5,6 +5,7 @@
"description": "cellxgene is a web application for the interactive exploration of single cell sequence data.",
"repository": "https://github.com/chanzuckerberg/cellxgene",
"scripts": {
"backend-dev": "python3.6 -m venv cellxgene && source cellxgene/bin/activate && yes | pip uninstall cellxgene || true && pip install -e .. && cellxgene launch ",
"build": "npm run clean && webpack --config configuration/webpack/webpack.config.prod.js",
"dev": "npm run clean && webpack --config configuration/webpack/webpack.config.dev.js",
"clean": "rimraf build",