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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to