sudo -u postgres createuser USER
sudo -u postgres createdb DB
sudo -u postgres psql
alter user USER with encrypted password 'PASS';
alter database DB owner to USER;