This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch makefile
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/makefile by this push:
     new 863e7e7  starter make file
863e7e7 is described below

commit 863e7e705863165334121b47863c3241d393457a
Author: hughhhh <[email protected]>
AuthorDate: Tue Apr 6 11:03:15 2021 -0400

    starter make file
---
 Makefile | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2da12c8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,29 @@
+# This is the default target, which will be built when 
+# you invoke make
+.PHONY: all
+all: install
+
+# This rule tells make how to build hello from hello.cpp
+install:
+       # Install external dependencies
+       pip install -r requirements/local.txt
+
+       # Install Superset in editable (development) mode
+       pip install -e .
+
+       # Create an admin user in your metadata database
+       superset fab create-admin
+
+       # 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
+       source venv/bin/activate
\ No newline at end of file

Reply via email to