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

cloud sql possibility #11

Open
bonviesinfo opened this issue May 7, 2024 · 1 comment
Open

cloud sql possibility #11

bonviesinfo opened this issue May 7, 2024 · 1 comment

Comments

@bonviesinfo
Copy link

Hi ,

If I would like to install with cloud sql and not install to local postresql .
Is there any modifing to do that ?

thank you.

@AdrianFretwell
Copy link
Collaborator

Hi,
You can set install_postgresql_local="no" in the configuration section of the install script. This will prevent PostgreSQL from being installed locally.
The database password should still get generated automatically. They get written to /root/djangopbx-passwords for reference.
When you get to the point in the installer where it asks "Use requirements.txt to install dependencies", pause at that point and manually edit your pbx/settings.py file to put in the details of your cloud database resource. (You will only get one change to get this right).
You should then be able to answer Y and the installer will continue the set up.

There is no guarantee this will work for you because it is an untested scenario, but hopefully it will get you somewhere close.

Kind regards,
Adrian.

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