~doma/do-auth

ref: 03fa8d5dd3e3d88f7f4ee643651af8bdf8f7b0f9 do-auth/Makefile -rw-r--r-- 370 bytes
03fa8d5dJonn Problem: No PostgreSQL available 13 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
db:
	/usr/lib/postgresql/12/bin/initdb -D pgdata
	mkdir pgdata/sockets
	cp priv/dev/postgresql.conf ./pgdata/
	/usr/lib/postgresql/12/bin/pg_ctl -D ./pgdata -l logfile start
	priv/dev/create-role-phoenix.sh
	cp priv/dev/pg_hba.conf ./pgdata/
	/usr/lib/postgresql/12/bin/pg_ctl -D ./pgdata -l logfile restart

hooks:
	cp -v priv/dev/pre-commit .git/hooks/

dev: hooks db