I'm running a cloned repo that uses rails with postgresql. The repo readme includes postgresql installation instructions, but they're written for Mac users with Homebrew. I know c9 has postgresql installed (and I found the setup instructions), so I know I'm partly there without any effort.
However, the first post-install instructions in the repo readme call for running
initdb /usr/local/var/postgres -E utf8, which can't be done because
initdb isn't a valid command, and the target directory doesn't exist. Looking at Homebrew's postgresql formula, I see that
/usr/local/var/postgres are both added as part of a Homebrew install.
I could add both of those to my workspace, but what I'm wondering is whether I need to. Is there a cluster already? Where is it, and what encoding does it use?