Elixir 1.12.2
elixir -vErlang/OTP 24
elixir -vPostgresQL 12.9
psql --versionNode v16.13.1
node --versionPhoenix installer v1.6.6
mix phx.new --v
mix phx.new hello2
cd hello2/config
nano dev.exs
< set username to “postgres” and set password >
sudo systemctl status postgresql.service
sudo systemctl restart postgresql.service [if necessary]
sudo -u postgres psql template1
template1=# ALTER USER postgres with encrypted password ‘<password>’;
template1=# \q
cd ..
mix ecto.create
mix phx.server