You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/05/16 00:30:17 UTC
[superset] 01/01: setup of makefile
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch makefile-update
in repository https://gitbox.apache.org/repos/asf/superset.git
commit efc55d7b04e4f517cff896f814c99f39f856887e
Author: hughhhh <hu...@gmail.com>
AuthorDate: Sat May 15 20:29:22 2021 -0400
setup of makefile
---
Makefile | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/Makefile b/Makefile
index f45558e..ea5a550 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,22 @@ superset:
# Load some data to play with
superset load-examples
+update:
+ # Install external dependencies
+ pip install -r requirements/local.txt
+
+ # Install Superset in editable (development) mode
+ pip install -e .
+
+ # Initialize the database
+ superset db upgrade
+
+ # Create default roles and permissions
+ superset init
+
+ # Load some data to play with
+ superset load-examples
+
venv:
# Create a virtual environment and activate it (recommended)
python3 -m venv venv # setup a python3 virtualenv