mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-10 01:40:55 +08:00
Merge pull request #166 from chanzuckerberg/csweaver/clean
Added clean script for cellxgene
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||||
|
CELLXGENE_DIR=$(dirname $DIR)
|
||||||
|
|
||||||
|
cd $CELLXGENE_DIR
|
||||||
|
|
||||||
npm install --prefix client/ client
|
npm install --prefix client/ client
|
||||||
npm run --prefix client build
|
npm run --prefix client build
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||||
|
CELLXGENE_DIR=$(dirname $DIR)
|
||||||
|
|
||||||
|
echo "Uninstalling cellxgene"
|
||||||
|
yes | pip uninstall cellxgene
|
||||||
|
echo "removing node_modules"
|
||||||
|
rm -rf $CELLXGENE_DIR/client/node_modules
|
||||||
|
echo "removing client_build"
|
||||||
|
rm -rf $CELLXGENE_DIR/client/build
|
||||||
|
echo "removing egg-info"
|
||||||
|
rm -rf $CELLXGENE_DIR/cellxgene.egg-info
|
||||||
|
echo "removing static files"
|
||||||
|
rm -f $CELLXGENE_DIR/server/app/web/templates/index.html
|
||||||
|
rm -rf $CELLXGENE_DIR/server/app/web/static
|
||||||
|
echo "cellxgene cleanup complete"
|
||||||
|
|
||||||
Reference in New Issue
Block a user