Tag Archives: heroku

Censo 2010 API: Qué métodos ofrecer

Quizás lo más difícil de construir una API es definir qué métodos proveer. Estos dependen de los datos que tenemos.

Para el caso de Censo 2010, la información scrapeada del INDEC solo contiene datos de población en el país. (Por lo menos por ahora)

Elegí proveer métodos básicos para consultas sobre población por departamento o provincia.

Posted in open source, Ruby programming, web programming | Also tagged , , , | Leave a comment

How to push a particular branch to Heroku

This is just a shortcut to a command I found here: http://devcenter.heroku.com/articles/git This is my .git/config: 1234567891011121314151617[core]   repositoryformatversion = 0   filemode = true   bare = false   logallrefupdates = true   ignorecase = true [heroku]   account = personal [remote "heroku"]   url = git@heroku.personal:censo2010.git   fetch = +refs/heads/*:refs/remotes/heroku/* [remote "origin"]   [...]

Posted in developer tools, linux/unix world, programming, web programming | Also tagged , , , , , , , | Leave a comment

How to push a Postgres database to your Heroku app

But why?

You have a local Postgres database that’s ready to go and you want your server to have the same database.

Posted in open source, Ruby programming, web programming | Also tagged , , , , | Leave a comment