|
1 | | -# [superset](https://github.com/apache/incubator-superset) on [Heroku](http://heroku.com) |
| 1 | +# [superset](https://github.com/apache/incubator-superset) 1.0.0 on [Heroku](http://heroku.com) |
2 | 2 |
|
3 | 3 | Superset is a data exploration platform designed to be visual, intuitive, and interactive. Visit the project's website at <http://airbnb.io/superset> |
4 | 4 |
|
| 5 | +Updated and working as of Feb 5, 2021 |
| 6 | + |
5 | 7 | ## Deploying on Heroku |
6 | 8 |
|
7 | | -To get your own Superset App running on Heroku, click the button below: |
| 9 | +To get your own Superset 1.0.0 App running on Heroku, click the button below: |
8 | 10 |
|
9 | 11 | [](https://heroku.com/deploy?template=https://github.com/turquoisehealth/superset-on-heroku) |
10 | 12 |
|
11 | | -Fill out the form, and later you should be performing analytics at the speed of thought. |
12 | | - |
13 | | -### Things you should know |
14 | | -##### After deployment |
15 | | - |
16 | | -- Superset will be accessible at `YOURAPPNAME.herokuapp.com`. |
| 13 | +To finish configuration, you need the [Heroku Toolbelt](https://toolbelt.heroku.com/) installed. |
17 | 14 |
|
18 | | -- To make changes to your app like creating admin user, clone your app locally using the [Heroku Toolbelt](https://toolbelt.heroku.com/): |
| 15 | +After deploying, you need to set the FLASK_APP environment variable or the app won't work: |
19 | 16 |
|
20 | | -```sh |
21 | | -heroku git:clone --app YOURAPPNAME |
| 17 | +``` |
| 18 | +heroku config:set FLASK_APP=superset --app YOURAPPNAME |
22 | 19 | ``` |
23 | 20 |
|
24 | | -- Attach the postgres DB to the app |
25 | | - |
26 | | - |
27 | | -- Create an Admin user by using |
| 21 | +Then, you need to initialize the database and create the first user: |
28 | 22 |
|
29 | | -```sh |
| 23 | +``` |
30 | 24 | heroku run bash --app YOURAPPNAME |
31 | | -fabmanager create-admin --app superset |
32 | 25 | superset db upgrade |
33 | 26 | superset init |
| 27 | +fab create-admin --app superset |
| 28 | +exit |
34 | 29 | ``` |
35 | 30 |
|
36 | | -- Check Papertrail logs for debugging any errors. |
37 | | - |
38 | | -### How this works |
39 | | - |
40 | | -This repository is essentially a minimal web application that specifies [Superset as a dependency](https://github.com/apache/incubator-superset), and makes a deploy button available. |
41 | | - |
42 | | -## Problems? |
| 31 | +After this, Superset will be accessible at `YOURAPPNAME.herokuapp.com`. |
43 | 32 |
|
44 | | -If you have problems using your instance of Superset, you should check the [official documentation](https://superset.incubator.apache.org/installation.html) or open an issue on [issue tracker](https://github.com/apache/incubator-superset/issues). If you discover an issue with the deployment process provided by *this repository*, then [open an issue here](https://github.com/dugjason/superset-on-heroku/issues). |
0 commit comments