Elixir Phoenix application learning project from The Pragmatic Studio for selling tickets.
Install Docker and run the following command to start a PostgreSQL container for development:
docker run -d \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=postgres \
-e POSTGRES_DB=raffley_dev \
-p 5432:5432 \
-v pgdata:/var/lib/postgresql/data \
--name my_postgres_container \
postgres
mix setup
mix phx.server
Or, to run inside IEx:
iex -S mix phx.server
Visit http://localhost:4000 in your browser.
Ready to deploy? See the Phoenix deployment guides.