Beginner: Scripted Bare Metal, move from SQLite to PostgreSQL #4227
Unanswered
method1020
asked this question in
Q&A
Replies: 1 comment 5 replies
-
@method1020 you will need to install the packages in the env for InvenTree. It was created on package install in /opt/inventree/env . |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a VM running (Ubuntu install) a fresh InvenTree install from the 'bare metal' script provided in the docs. How would I go about moving this to a better suited database such as PostgreSQL?
I performed the PostgreSQL install:
Install POSTGRESQL:
and setup the user/database as described in the docs:
(with changes to myuser and mypass)
The next steps i'm stuck on. it looks like i need to install psycopg2 pgcli via pip, do i do this in a virtual environment? Did the scripted install make a virtual environment?
I did also change the config file from
to
(with changes to name/user/password where appropriate)
Sorry I'm learning a lot here as I go.
Beta Was this translation helpful? Give feedback.
All reactions