Skip to content

Instantly share code, notes, and snippets.

@RyanHirsch
Last active January 20, 2017 13:58
Show Gist options
  • Select an option

  • Save RyanHirsch/720f0b683ca59a616363cea9ab6ec4ec to your computer and use it in GitHub Desktop.

Select an option

Save RyanHirsch/720f0b683ca59a616363cea9ab6ec4ec to your computer and use it in GitHub Desktop.
{
"db:create": "docker run --name todomvc-plusplus -v $(pwd)/pgdata:/var/lib/postgresql/data/pgdata -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -e PGDATA=/var/lib/postgresql/data/pgdata -d postgres",
"db:start": "docker start todomvc-plusplus",
"db:stop": "docker stop todomvc-plusplus",
"db:remove": "npm run db:stop && docker rm todomvc-plusplus"
}
@RyanHirsch
Copy link
Author

Also can install Postico for GUI access via brew

brew cask install portico

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