Created
August 24, 2017 13:38
-
-
Save miracle2k/4a955ebd6ff98edb87f075b5e0cfd9d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diskutil erasevolume HFS+ "postgres_ramdisk" `hdiutil attach -nomount ram://409600` | |
sudo chown -R $(whoami) /Volumes/postgres_ramdisk/ | |
pg_ctl -D /Volumes/postgres_ramdisk/postgres init | |
pg_ctl -D /Volumes/postgres_ramdisk/postgres start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment