Last active
June 3, 2019 08:56
-
-
Save simonjisu/3cf5d858746b11228ff24a09dbf4c832 to your computer and use it in GitHub Desktop.
[autoupdate] wget https://gist.githubusercontent.com/simonjisu/3cf5d858746b11228ff24a09dbf4c832/raw/385a5b33f8617ec553dc8f9aaf0f6bd52a924135/autoupdate_installer.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/simonjisu/autoupdate.git | |
python autoupdate/src/main.py \ | |
--opt "new_init" \ | |
-bp "." \ | |
-dp "/usr/bin" \ | |
-ms 1000 \ | |
-sv \ | |
-em $1 \ | |
-pw $2 && \ | |
export FLASK_APP=superset | |
export FLASK_ENV=development | |
flask fab create-admin \ | |
--username $3 \ | |
--firstname $4 \ | |
--lastname $5 \ | |
--email $6 \ | |
--password $7 && \ | |
superset db upgrade && \ | |
superset init |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment