You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2019/06/14 16:02:28 UTC

[incubator-superset] branch master updated: [docker] Fix docker-init missing FLASK_APP (#7709)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new b6ab691  [docker] Fix docker-init missing FLASK_APP (#7709)
b6ab691 is described below

commit b6ab691ebd246c47bbebf28e67992ffbe7b28b4a
Author: Daniel Vaz Gaspar <da...@gmail.com>
AuthorDate: Fri Jun 14 17:02:12 2019 +0100

    [docker] Fix docker-init missing FLASK_APP (#7709)
---
 contrib/docker/docker-init.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/docker/docker-init.sh b/contrib/docker/docker-init.sh
index c527015..2ef5ac4 100755
--- a/contrib/docker/docker-init.sh
+++ b/contrib/docker/docker-init.sh
@@ -18,6 +18,7 @@
 set -ex
 
 # Create an admin user (you will be prompted to set username, first and last name before setting a password)
+export FLASK_APP=superset:app
 flask fab create-admin
 
 # Initialize the database