Getting to grips with postgres

So, having generated my Rails app and selected postgres as the development database, I’m now faced with getting the damn thing running. On a Eurostar train (under the English channel) i.e. with no internet.