koopjs / koop-app-example

A Koop express application example with some common providers.
Other
23 stars 35 forks source link

Does not work with Heroku #31

Closed shortycake closed 8 years ago

shortycake commented 8 years ago

heroku deployment doesn't work, it crashes and also it is not clear how to connect to a postgis database with the sample app

jgravois commented 8 years ago

this problem was reported in #27

the last time i looked, PostGIS was not available in Heroku's free tier. i'll try to find some time soon to see if thats still the case and if so, make sure we have a sample that uses an IN_MEMORY cache that is easy to deploy.

i'm going to go ahead and close this one out, but feel free to reply to the other if you have additional questions.

ungoldman commented 8 years ago

Still a valid point. A lot of work was done to try to make koop work out of the box with minimal setup on PaaS providers like Heroku. I think it's still possible with the current codebase. Maybe removing the postgis plugin from the starter app would help?

shortycake commented 8 years ago

Yeah. The way it is now you can't use koopjs-sample-app with Heroku. It will just automatically crash because you can't connect to a database.

You can certainly get PostGIS with Heroku which is what I was interested in doing... I committed a lot of time and effort to understanding koop :) now I have no idea how I can use it... since heroku, AWS and other cloud services whatever are not supported... what am I supposed to do exactly :P

jgravois commented 8 years ago

@shortycake can you click the button below and let me know if the instance thats deployed is functional?

Deploy

more info here.

shortycake commented 8 years ago

That one is functional and worked, jgravois