mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-16 05:07:55 +08:00
16 lines
470 B
Bash
Executable File
16 lines
470 B
Bash
Executable File
#!/bin/bash
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
|
CELLXGENE_DIR=$(dirname $DIR)
|
|
|
|
cd $CELLXGENE_DIR
|
|
|
|
npm install --prefix client/ client
|
|
npm run --prefix client build
|
|
rm -rf server/app/web/static
|
|
mkdir -p server/app/web/static/img
|
|
cp client/build/index.html server/app/web/templates/
|
|
cp -r client/build/static server/app/web/
|
|
|
|
cp client/build/favicon.png server/app/web/static/img
|
|
cp client/build/service-worker.js server/app/web/static/js/
|