Skip to content

Instantly share code, notes, and snippets.

@marinakr
Last active June 8, 2019 12:12
Show Gist options
  • Save marinakr/821e71447a1e3bef88273a2d01861b96 to your computer and use it in GitHub Desktop.
Save marinakr/821e71447a1e3bef88273a2d01861b96 to your computer and use it in GitHub Desktop.
Elixir protobuff app
mix phx.new --umbrella --database postgres --no-webpack --no-ecto --no-html --binary-id to_do
cd apps/to_do
mix phx.gen.schema ToDo.Item items title:string description:text status:text owner:uuid
mix ecto.gen.repo -r ToDo.Repo
mix ecto.create
mix ecto.migrate
cd ../
mix new protobuf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment