| 1 | = Superset = |
| 2 | |
| 3 | * 1. start container |
| 4 | {{{ |
| 5 | docker run -d -p 8080:8088 -e "SUPERSET_SECRET_KEY=krit_Superset" --name superset apache/superset |
| 6 | }}} |
| 7 | * 2. setup local admin account |
| 8 | {{{ |
| 9 | docker exec -it superset superset fab create-admin \ |
| 10 | --username admin \ |
| 11 | --firstname Superset \ |
| 12 | --lastname Admin \ |
| 13 | --email admin@superset.com \ |
| 14 | --password admin |
| 15 | }}} |
| 16 | * 3. migrate locad DB to latest |
| 17 | {{{ |
| 18 | docker exec -it superset superset db upgrade |
| 19 | }}} |
| 20 | * 4. Load Examples |
| 21 | {{{ |
| 22 | docker exec -it superset superset load_examples |
| 23 | }}} |
| 24 | * 5. Setup roles |
| 25 | {{{ |
| 26 | docker exec -it superset superset init |
| 27 | }}} |
| 28 | |
| 29 | Login and take a look -- navigate to http://localhost:8080/login/ -- u/p: [admin/admin] |
| 30 | |