Skip to content

Fixes to allow for gcloud deployment#539

Merged
mdipierro merged 4 commits intoweb2py:masterfrom
lucadealfaro:luca-gcloud
May 23, 2021
Merged

Fixes to allow for gcloud deployment#539
mdipierro merged 4 commits intoweb2py:masterfrom
lucadealfaro:luca-gcloud

Conversation

@lucadealfaro
Copy link
Copy Markdown
Collaborator

So, it turns out the idea of installing modules in gae/lib/ is problematic.
The problem is that if there are modules that are BINARY, the binary installed on the local computer is not what is needed in the google cloud. This was breaking in particular mysqlclient , which was installed in binary on my Mac.
I think in the end the use of requirements.txt is safer; in this way the cloud uses whatever module is appropriate for it without us trying to guess.

I have fixed the installation procedure and updated the gae/README.md

@mdipierro
Copy link
Copy Markdown
Contributor

mdipierro commented May 22, 2021 via email

@mdipierro mdipierro merged commit 26cc5a3 into web2py:master May 23, 2021
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

Successfully merging this pull request may close these issues.

2 participants