You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/05/11 21:45:48 UTC

[GitHub] [superset] FoXTecktoniK commented on issue #9748: Unable to add a SQLite DB

FoXTecktoniK commented on issue #9748:
URL: https://github.com/apache/superset/issues/9748#issuecomment-1124323169

   1. open superset/docker/pythonpath_dev/superset_config.py
   2. add `PREVENT_UNSAFE_DB_CONNECTIONS = False` somewhere
   3. start a docker container
   The setting is applied, but the database is not yet there
   
   4. open docker-compose.yml (or docker-compose-non-dev.yml)
   5. find lines 
   ```x-superset-volumes: &superset-volumes
     # /app/pythonpath_docker will be appended to the PYTHONPATH in the final container
     - ./docker:/app/docker
     - superset_home:/app/superset_home```
     add line at the bottom `./local.db:/app/local.db`, where  ./local.db - file in superset folder
     use connection string `sqlite:///local.db` in superset


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org