Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB is not found when zendro starts without docker #98

Open
VivianBass opened this issue Jun 7, 2023 · 1 comment
Open

DB is not found when zendro starts without docker #98

VivianBass opened this issue Jun 7, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@VivianBass
Copy link

VivianBass commented Jun 7, 2023

We have to modify the file ./graphql-server/config/data_models_storage_config.json when we want to start zendro without docker, but for the getting started guide we should have a default database, if not, the database is not found.

I propose to have two files as the config in Starter pack:

  1. data_models_storage_config.json
  2. data_models_storage_config_example.json

In the first one we can have

{
  "default-sql": {
    "storageType": "sql",
    "dialect": "sqlite",
    "storage": "data.db"
  }
}

and in the second we can have all database connections examples.

@VivianBass VivianBass added the enhancement New feature or request label Jun 7, 2023
@asishallab
Copy link
Member

Go ahead @VivianBass , but please run the tests we have after introducing the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants