hacketyhack / hackety-hack.com

The website for hackety hack.
http://hackety-hack.com/
166 stars 102 forks source link

Automatic deploy to heroku #150

Open steveklabnik opened 11 years ago

steveklabnik commented 11 years ago

Travis supports heroku automatic deploys, we should have this.

SoldierCoder commented 11 years ago

So, to be certain, we are deploying our Shoes programs to Heroku or is it something else?

PragTob commented 11 years ago

We want to deploy hackety-hack.com automatically to heroku when the travis-ci build on master is green. E.g. see this blog post.

However this probably is more a task for someone with access to heroku.

steveklabnik commented 11 years ago

It would look very much like this: https://github.com/steveklabnik/meloria/pull/1

You'd have to get the key from me or someone else on heroku, though

PragTob commented 11 years ago

Oh why can't we have @rkh do that for us as well? :-)

jacqueline-homan commented 11 years ago

If it's OK I'd like to point something out. When I did the Hartl Ruby on Rails tutorial apps, I found that sqlite3 does NOT "play well" with Heroku. Hartl makes this clear himself in his Rails tutorials. I have a Heroku account. I can use Heroku so long as any app I want to push up there does NOT use sqlite or sqlite3. Heroku is fantastic and will work with MySQL, Postgrel, and I think also NoSQL. But not with SQL or sqlite3.

PragTob commented 11 years ago

We already deploy to heroku so everyone works fine :-) We only use sqlite3 in the development environment, when we deploy we use Postgres.

SoldierCoder commented 11 years ago

what do you use Postgres for in Hackety.com?

Are you saying we use something other than mongo?

On Sep 6, 2013, at 3:51 AM, Tobias Pfeiffer notifications@github.com wrote:

We already deploy to heroku so everyone works fine :-) We only use sqlite3 in the development environment, when we deploy we use Postgres.

— Reply to this email directly or view it on GitHub.

PragTob commented 11 years ago

There are some Active Record leftovers for which a normal sql database is needed, it was tried to be fixed in this pull request #146 but somehow that got stuck/did not move on.