Open crmackay opened 9 years ago
looks like several python options exist for github webhooks: https://github.com/razius/github-webhook-handler http://stackoverflow.com/questions/14536992/how-do-i-receive-github-webhooks-in-python
BIB only has python 2.6, and it looks like pelican doesn't like it (I get syntax errors when trying to import pelican)
setup a new user on BIB and install a virtualenv?
Are there ports available on bib (eg 8080) or do we need todo some sort of reverse proxying via apache?
On Feb 27, 2015, at 11:41 AM, Michael Purcaro notifications@github.com wrote:
looks like several python options exist: https://github.com/razius/github-webhook-handler http://stackoverflow.com/questions/14536992/how-do-i-receive-github-webhooks-in-python
— Reply to this email directly or view it on GitHub https://github.com/GSBS-Bootstrappers/bootstrappers-courses/issues/5#issuecomment-76425614 .
Of course it only has 2.6....
Not sure what the best way is on that server (I'm sure there's all sorts of stuff all over the place).
We would need 2.7, pelican and it's dependencies all pointing to each other.
Env might work but if we have to use apache for the web hook it needs to be active for the apache user no?
Maybe just have an updated python2.7.9 interpreter somewhere, directly call it in the main pelican script, and put the updated dependencies nearby (or append the python path)?
--this is all very hackish because I don't know any better. Where's docker?...
On Feb 27, 2015, at 11:45 AM, Michael Purcaro notifications@github.com wrote:
BIB only has python 2.6, and it looks like pelican doesn't like it (I get syntax errors when trying to import pelican)
setup a new user on BIB and install a virtualenv?
— Reply to this email directly or view it on GitHub https://github.com/GSBS-Bootstrappers/bootstrappers-courses/issues/5#issuecomment-76426375 .
We'll setup docker on bib7 for all the bootstrappers sebsite stuff, and then setup proxy pass on bib
On Fri, Feb 27, 2015 at 12:08 PM, Chris MacKay notifications@github.com wrote:
Of course it only has 2.6....
Not sure what the best way is on that server (I'm sure there's all sorts of stuff all over the place).
We would need 2.7, pelican and it's dependencies all pointing to each other.
Env might work but if we have to use apache for the web hook it needs to be active for the apache user no?
Maybe just have an updated python2.7.9 interpreter somewhere, directly call it in the main pelican script, and put the updated dependencies nearby (or append the python path)?
--this is all very hackish because I don't know any better. Where's docker?...
On Feb 27, 2015, at 11:45 AM, Michael Purcaro notifications@github.com wrote:
BIB only has python 2.6, and it looks like pelican doesn't like it (I get syntax errors when trying to import pelican)
setup a new user on BIB and install a virtualenv?
— Reply to this email directly or view it on GitHub < https://github.com/GSBS-Bootstrappers/bootstrappers-courses/issues/5#issuecomment-76426375
.
— Reply to this email directly or view it on GitHub https://github.com/GSBS-Bootstrappers/bootstrappers-courses/issues/5#issuecomment-76430506 .
ok cool.
I'll just get going on making the "content" parts of the sites ( the add-blog
branch) ...
the automatically git pulling and building feature will be nice to have so we can just proofread drafts (via pull requests) commit them and they auto build and deploy, but if we can't do that right away, it's easy enough for us to just build the static site and pull it onto bib every so often...