blob: f928985b0081826325c37c410d7e59b90c30a484 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
post_install(){
cat <<INFO
To complete the installation of Apache Superset, open /etc/superset/env,
and replace SUPERSET_SECRET_KEY with the output of:
openssl rand -base64 48
For additional configurations, edit /etc/superset/superset_config.py.
Then, initialize the database and create the "admin" user with:
sudo -u superset bash
cd /var/lib/superset
source /etc/superset/env
superset db upgrade
superset fab create-admin
superset load_examples
superset init
Once done, start Apache Superset by running:
sudo systemctl start superset.service
and login from the web interface at http://127.0.0.1:8088/
INFO
}
post_update(){
cat <<INFO
Apache Superset has been updated, you can check here for breaking changes:
https://github.com/apache/superset/blob/master/UPDATING.md
INFO
}
|