diff --git a/README.md b/README.md index a83adc5d0e3d0..93546298d59af 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ PANORAMIX_WEBSERVER_PORT = 8088 SECRET_KEY = '\2\1thisismyscretkey\1\2\e\y\y\h' # The SQLAlchemy connection string. -SQLALCHEMY_DATABASE_URI = 'sqlite:///tmp/panoramix.db' +SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/panoramix.db' # Flask-WTF flag for CSRF CSRF_ENABLED = True diff --git a/panoramix/config.py b/panoramix/config.py index 703b24469a352..246694748813f 100644 --- a/panoramix/config.py +++ b/panoramix/config.py @@ -27,7 +27,7 @@ SECRET_KEY = '\2\1thisismyscretkey\1\2\e\y\y\h' # The SQLAlchemy connection string. -SQLALCHEMY_DATABASE_URI = 'sqlite:///tmp/panoramix.db' +SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/panoramix.db' # SQLALCHEMY_DATABASE_URI = 'mysql://myapp@localhost/myapp' # SQLALCHEMY_DATABASE_URI = 'postgresql://root:password@localhost/myapp'