From e84c6393b8658c7e8d9b321c08f0dea33335aa28 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Tue, 24 Jan 2017 08:36:14 -0800 Subject: [PATCH] Correcting docs to `run npm build` instead of prod --- docs/installation.rst | 2 +- pypi_push.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index aa0d2c00d..7317ddc60 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -373,6 +373,6 @@ your environment.:: # assuming $SUPERSET_HOME as the root of the repo cd $SUPERSET_HOME/superset/assets npm install - npm run prod + npm run build cd $SUPERSET_HOME python setup.py install diff --git a/pypi_push.sh b/pypi_push.sh index 42e6b4f23..4514abe38 100644 --- a/pypi_push.sh +++ b/pypi_push.sh @@ -1,3 +1,4 @@ +rm superset/assets/dist/* cd superset/assets/ rm build/* npm run prod