mirror of
https://github.com/apache/superset.git
synced 2024-09-18 19:49:37 -04:00
ebb32101c9
* Apache Releases https://github.com/mistercrunch/superset/blob/apache-releases/RELEASING.md#apache-releases * npm run prod -> npm run build
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
# INSTALL / BUILD instructions for Apache Superset (incubating)
|
|
|
|
# These instructions should work along sources releases under
|
|
# https://dist.apache.org/repos/dist/dev/incubator/superset/*/*source.tar.gz$
|
|
|
|
# [required] fetch the tarball and untar the source
|
|
# change into the directory that was untarred.
|
|
|
|
#############################
|
|
# Dependencies
|
|
#############################
|
|
# Superset runs best on python3.6
|
|
# Also recommended is the latest long term supported node / npm
|
|
# For complementary information read our CONTRIBUTING.md
|
|
# for OS level dependencies find instructions here:
|
|
# http://superset.apache.org/installation.html
|
|
|
|
# Fetch npm dependencies
|
|
cd superset/assets/
|
|
npm ci
|
|
|
|
# Build the Javascript bundles
|
|
npm run build
|
|
|
|
# Back to the root of the repo
|
|
cd ../..
|
|
|
|
# [optional] Superset pulls in quite a lot of dependencies in order
|
|
# to connect to other services. You might want to test or run Superset
|
|
# from a virtual env to make sure those dependencies are separated
|
|
# from your system wide versions
|
|
python3 -m env36
|
|
source env36/bin/activate
|
|
|
|
# [required] building and installing by pip (preferred)
|
|
pip install .
|
|
|
|
# superset --help
|
|
|