-
Notifications
You must be signed in to change notification settings - Fork 776
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
Add instructions for running with postgresql locally (and production?) in dev docs #6545
Comments
Thanks, yes. This was discussed in the last dev meeting @cpauya made a good initial start of instructions here: #6480 (comment) |
|
I think Lingyi used |
There are more details on how to make the initial database table in this comment: #6480 (comment) I think a script file that someone could pipe into the postgres interpreter would be convenient. |
lol |
I don't think there are instructions on how to set up Kolibri to use Postgres as an alternative DB. Here's what @lyw07 shared with me on how to do it:
brew install postgresql
if you have mac + homebrew)pip install psycog2-binary
)KOLIBRI_DATABASE_ENGINE
to postgresKOLIBRI_DATABASE_NAME
,KOLIBRI_DATABASE_PASSWORD
,KOLIBRI_DATABASE_USER
,KOLIBRI_DATABASE_HOST
, andKOLIBRI_DATABASE_PORT
Example
.env
fileMay also need to delete
~/.kolibri/.data_version
if already started server with sqlite.The text was updated successfully, but these errors were encountered: