Skip to content

Instantly share code, notes, and snippets.

@kaosf
Created February 18, 2015 16:47
Show Gist options
  • Select an option

  • Save kaosf/80676978d989d1bb1c49 to your computer and use it in GitHub Desktop.

Select an option

Save kaosf/80676978d989d1bb1c49 to your computer and use it in GitHub Desktop.
export PATH=/usr/lib/postgresql/9.3/bin:$PATH
mkdir ~/postgresql
cd ~/postgresql
mkdir socket
initdb pg
echo unix_socket_directories = '/home/myname/postgresql/socket' >> pg/postgresql.conf
postgres -D pg
createdb mydbname # Error!
# ref. https://devcenter.heroku.com/articles/clojure-web-application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment