Skip to content

Instantly share code, notes, and snippets.

@benyblack
Last active November 8, 2019 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benyblack/f3c0e44fa8f796e95644da0bfbb4c6ff to your computer and use it in GitHub Desktop.
Save benyblack/f3c0e44fa8f796e95644da0bfbb4c6ff to your computer and use it in GitHub Desktop.
docker pull postgres
docker run -d --rm -p 5432:5432 --name postgres_hello_world_ci -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=hello_world_ci_dev postgres
echo no | mix phx.new hello_world_ci
cd hello_world_ci
mix deps.get
mix do compile
mix ecto.setup
cd assets && npm install && cd ..
mix phx.server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment