Skip to content

Commit 49b1d1f

Browse files
Switch mysql for postgres
1 parent 9d282d8 commit 49b1d1f

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Superset is a data exploration platform designed to be visual, intuitive, and in
66

77
To get your own Superset App running on Heroku, click the button below:
88

9-
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/dblN/superset-on-heroku)
9+
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Ryanthegiantlion/superset-on-heroku)
1010

1111
Fill out the form, and later you should be performing analytics at the speed of thought.
1212

@@ -20,6 +20,9 @@ Fill out the form, and later you should be performing analytics at the speed of
2020
```sh
2121
heroku git:clone --app YOURAPPNAME
2222
```
23+
24+
- Attach the postgres DB to the app
25+
2326
- Create an Admin user by using
2427

2528
```sh

app.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
"name": "Superset on Heroku",
33
"description": "Data exploration platform designed to be visual, intuitive, and interactive",
44
"logo": "https://cdn.rawgit.com/airbnb/superset/master/superset/assets/images/superset_logo.png",
5-
"repository": "https://github.com/dblN/superset-on-heroku",
5+
"repository": "https://github.com/Ryanthegiantlion/superset-on-heroku",
66
"addons": [
7-
"jawsdb",
87
"papertrail"
98
],
109
"buildpacks": [

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
pylibmc==1.5.1
22
superset==0.15.4
3-
mysqlclient==1.3.9
3+
psycopg2==2.7.3

superset_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Superset metadata (slices, connections, tables, dashboards, ...).
2020
# Note that the connection information to connect to the datasources
2121
# you want to explore are managed directly in the web UI
22-
SQLALCHEMY_DATABASE_URI = os.environ['JAWSDB_URL']
22+
SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']
2323

2424
# Flask-WTF flag for CSRF
2525
CSRF_ENABLED = True

0 commit comments

Comments
 (0)