PostgreSQL
Setup postgres user account
# elixirdbuser
# elixirdbpass
sudo -u postgres psql -c "create user elixirdbuser with superuser password 'elixirdbpass';"
sudo -u postgres psql -c "show hba_file;"
# go to hba_file and edit IPv4 local connections
# host all elixirdbuser localhost md5
# restart postgresql
sudo systemctl restart postgresqlChange hostname, user, pass in dev.exs
This might also need to be done in test.exs
username: "elixirdbuser",
password: "elixirdbpass",
hostname: "fields",