Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 5 lines (4 sloc) 184 Bytes
#!/bin/sh -v
sudo -u postgres createuser $USER
sudo -u postgres createdb $USER
sudo -u postgres psql -c "alter user $USER with superuser;" # https://stackoverflow.com/a/10757486/10245
You can’t perform that action at this time.