Getting started with Elixir Phoenix using Docker

I am working through the Grox.io course on Phoenix Liveview.
Having come back to this after a while I had forgotten the database setup.

Here is what I have reconstructed, using Docker:

docker run -d -e POSTGRES_PASSWORD=postgres -p 5432:5432 postgres:11
mix ecto.create
mix phx.server

This enabled me to get started again.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s