You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/08/02 04:15:32 UTC

[GitHub] mistercrunch commented on issue #3224: SQL_ALCHEMY_DATABASE_URI ignored from Apache mod_wsgi

mistercrunch commented on issue #3224: SQL_ALCHEMY_DATABASE_URI ignored from Apache mod_wsgi
URL: https://github.com/apache/incubator-superset/issues/3224#issuecomment-319562646
 
 
   You need to have a module named `superset_config` in your PYTHONPATH, meaning if yo fire up an interpreter and `import superset_config` it should work.
   
   In production at Airbnb we drop that file (`superset_config.py`) into a specific folder, and run `export PYTHONPATH=~/thatfolder`.
   
   As you fire up your web server you should see something like this:
   <img width="772" alt="screen shot 2017-08-01 at 9 14 41 pm" src="https://user-images.githubusercontent.com/487433/28857459-8807ddd4-76fe-11e7-9066-f1a8c5568507.png">
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services