Skip to content

Instantly share code, notes, and snippets.

@ruyjfs
Last active May 13, 2019 15:00
Show Gist options
  • Save ruyjfs/3fa0a3d74910dc25ee63c395ce7a681b to your computer and use it in GitHub Desktop.
Save ruyjfs/3fa0a3d74910dc25ee63c395ce7a681b to your computer and use it in GitHub Desktop.
How create a project Elixir with Pheonix framework, Ecto ORM, Absinthe for GraphQL API and Database Postgres.
docker run -it --rm --name elixir -p 4000:4000 -v "$PWD":"/var/www" -w "/var/www" elixir:slim /bin/bash

mix local.hex --force

mix archive.install hex phx_new -y

mix phx.new skeleton_elixir --no-html --no-webpack

cd skeleton_elixir

mix phx.server

mix archive.install hex absinthe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment