Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Make it easy to run Citizenry on Heroku #45
Hosting Rails applications can be a real pain for people and hinders adoption. Heroku offers free/cheap hosting, but offers a very odd and limited environment, and we have to port to it so they can run the app. I've already done much of the work needed, but some more is needed:
This was referenced
Nov 12, 2011
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I'm doing this now and wanted to share my notes as I progressed.
There are likely many more changes (sphinx, various settings); I'll report back with my progress.
I'm having trouble deploying to Heroku:
I started from the procedure documented at https://github.com/reidab/citizenry/wiki/Deploying-to-Heroku , except that I deployed to a cedar stack (bamboo is no longer available).
I've got Twitter authentication working, but adding the LinkedIn key and secret fails with a redirect to /auth/failure?message=invalid_response, Google fails with 'Request-URI Too Large', and Github fails with 'The page you were looking for doesn't exist.'.
Oh, and what do I need to do to to disable various authentication providers?
Anyway, as soon as I added one person (myself) the home page broke with 'We're sorry, but something went wrong.' Other pages such as /people are working, so the site is being populated, but I need to fix the homepage.
You can see the changes (yes, including the keys and secrets) I made to configuration and gems here: https://github.com/NM-Tech-Directory/citizenry/
Can anyone help me get this deployment working?