Skip to content

Instantly share code, notes, and snippets.

@sturmenta
Last active April 18, 2021 06:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sturmenta/e5a2804e35244a7af9738dd228c8c6df to your computer and use it in GitHub Desktop.
Save sturmenta/e5a2804e35244a7af9738dd228c8c6df to your computer and use it in GitHub Desktop.
instalation of elimu dev programs to mac m1
// add to .zshrc
alias psql="/Applications/Postgres.app/Contents/Versions/13/bin/psql -p5432 'postgres' $@"

// open writing psql
// \l -> list db's
// \q -> quit
// CREATE DATABASE test; -> create db

— fix postmaster.pid error

cd ~/Library/Application\ Support/Postgres/ && ls cd var-x rm postmaster.pid


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment