Skip to content

heroku #18

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

Open
levelos opened this issue Jul 25, 2014 · 4 comments
Open

heroku #18

levelos opened this issue Jul 25, 2014 · 4 comments
Milestone

Comments

@levelos
Copy link

levelos commented Jul 25, 2014

Any thoughts on deploying and running on Heroku? I don't have a ton of experience, but I'm running into challenges on combining the Node and Ruby (Jekyll) dependencies. It builds alright, but then keeps dying and I can't pinpoint the reason why other than the mixed dependencies.

@scisco
Copy link
Contributor

scisco commented Jul 29, 2014

@levelos Are you interested in deploying jekyll-hook on Heroku or deploying a jekyll-powered website? If it's the latter, this guide should be helpful: http://blog.crowdint.com/2010/08/02/instant-blog-using-jekyll-and-heroku.html

Heroku does not allow write access on its storage. Thus it'd be impossible to directly build a Jekyll site on Heroku. However, you can always build your site somewhere else and then upload it to Heroku.

I think it would also be a great feature if jekyll-hook can automatically push a built site to Heroku. If I get a chance I will try to add this feature.

@levelos
Copy link
Author

levelos commented Jul 29, 2014

Thanks for the response @scisco. I actually meant the former, deploying jekyll-hook on Heroku. So are you saying that even ephemeral writes, e.g. to a temp directory, are not allowed on Heroku?

I did get the jekyll-hook deployed and running, but still need to test the build process. I needed to deploy a multi-buildpack so the Heroku environment supported both Ruby and Node.

@scisco
Copy link
Contributor

scisco commented Jul 29, 2014

@levelos You are right. It does allow ephemeral writes. I will run some tests later today when I get a chance and will let you know if I find a way.

@levelos
Copy link
Author

levelos commented Jul 29, 2014

That'd be great. I have a divergent fork going, but maybe we can do something more collaborative.

An unrelated challenge I'm working through on Heroku is configuring deployment keys for accessing private repos. It seems you need to write the pub and private keys every time you rebuild the environment. Scriptable, but I haven't thought through a good approach yet in case you have any thoughts.

@scisco scisco added this to the version 0.5 milestone Feb 6, 2015
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