Skip to content
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

Running gitit on heroku #349

Open
pankajmore opened this issue Feb 11, 2013 · 10 comments
Open

Running gitit on heroku #349

pankajmore opened this issue Feb 11, 2013 · 10 comments

Comments

@pankajmore
Copy link

Is there a guide for running gitit on a PaaS service such as heroku? I am thinking similar to how Yesod has support for heroku inside its scaffold by using appropriate config files. It would be useful to do a one click install of gitit on heroku.

@jgm
Copy link
Owner

jgm commented Feb 11, 2013

+++ Pankaj More [Feb 11 13 04:02 ]:

Is there a guide for running gitit on a PaaS service such as heroku?

Not that I know of.

@master-q
Copy link

I would like to do that.

@mietek
Copy link

mietek commented Oct 30, 2014

It is now possible to deploy gitit to Heroku with two clicks. Check out my fork.

@mietek
Copy link

mietek commented Nov 11, 2014

@pankajmore, @jgm: check out @master-q’s success story.

Step-by-step instructions will soon be available.

@jgm
Copy link
Owner

jgm commented Nov 11, 2014

+++ Miëtek Bak [Nov 11 14 07:11 ]:

@pankajmore, @jgm: check out @master-q’s success story.

Step-by-step instructions will soon be available.

Great, this will be nice.

@thosgood
Copy link

@mietek any update on those step-by-step instructions? this is pretty much the only alive link that Google returns when searching for how to run gitit on heroku!

@mietek
Copy link

mietek commented May 31, 2015

@thosgood: Since my last comment, I’ve generalised my work so that it’s possible to easily install Haskell applications on arbitrary platforms — not just on Heroku. The correct link is now:
https://halcyon.sh/examples/#gitit

@thosgood
Copy link

@mietek I've managed to deploy it to Heroku with the link on that page, but I'm having issues actually getting the app to run now (I just get an application error message when I visit my app url). I'm guessing that my config variables must be in some way wrong... The GITIT_GIT_URL is for the link to the git of my local version of gitit, yes? How exactly does one set up the OAuth stuff as well? (Sorry for so many questions!)

@mietek
Copy link

mietek commented May 31, 2015

Please take a look at .profile.d/gitit.sh. Almost all environment variables correspond directly to Gitit options, which are described in README.original.md.

GITIT_GIT_URL is the link to a git repository which will be used as permanent storage for your Gitit. If you don’t provide it, your data will be lost when your Heroku dyno goes to sleep, as only transient storage is available on Heroku.

@thosgood
Copy link

@mietek I've got everything up and running fine, apart from having persistent storage. I've set up GITIT_GIT_URL etc., but I can't seem to get anything to actually commit to the repo (unless I do it manually and locally from the command line, of course). Any tips on getting this last part working?

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

5 participants