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

Use sqlite as database #12

Open
htgoebel opened this issue Feb 28, 2021 · 2 comments
Open

Use sqlite as database #12

htgoebel opened this issue Feb 28, 2021 · 2 comments

Comments

@htgoebel
Copy link

For the next release, please change the documentation to use a sqlite database. A sqlite db requires much less resources and managing it is much easier than a postgresql db. And for this training, a sqlite db suffices, I assume.

@htgoebel
Copy link
Author

Setup (instead of createdb):

mkdir _var
touch _var/training.sqlite

Config-file:

[database]
uri = sqlite://
path = _var
default_name = training

The connection informations for your running server are as follow:

host: localhost
database: training
user name: admin
password: admin

@zipus
Copy link

zipus commented Jan 22, 2024

In our case the postgresql works because it trains how to work in a real work scenario. The databases we work over at localhost are sometimes backups from the customer DB to allow some debugging over the real data.

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

No branches or pull requests

2 participants