GSBS-Bootstrappers / bootstrappers-courses

Courses created by the Bootstrappers group at Umass Med
http://bioinfo.umassmed.edu/bootstrappers
GNU Lesser General Public License v3.0
1 stars 1 forks source link

set up server site building #5

Open crmackay opened 9 years ago

crmackay commented 9 years ago
purcaro commented 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

purcaro commented 9 years ago

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?

crmackay commented 9 years ago

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 .

crmackay commented 9 years ago

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 .

purcaro commented 9 years ago

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 .

crmackay commented 9 years ago

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...