All,
I'm trying to get git push working.. following the guidance at https://blog.pythonanywhere.com/87/
The main difference is that I have several of the settings stored as environment variables within a virualenv, and thus I need to start the virtualenv before the remainder of the hook proceeds. When I do a push to python anywhere the remote is returning django.core.exception.AppRegistryNotReady.
The issue is that the Virtualenv doesn't seem to be loading.. When I run the post-receive hook manually with the vitualenv activate everything runs fine.. Anyone know the correct syntax, to start the virualenv in the current shell from a bash script ?
1 2 3 4 5 6 7 8 9 10 |
|