Installation is done with brew. The package name is postgresql.
In order to make postgres start at the launch:
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
Or in order to run it directly:
postgres -D /usr/local/var/postgres/
In order to connect to the database:
psql mydb --username=dev
- makemigrations
- sqlmigrate
- squashmigrations
- migrate
Symlink .git/hooks to scripts/githooks/
ln -s scripts/githooks/ .git/hooks