phx_custom

Opinioned code patcher for projects generated by mix phx.new.

Changelog

  • Drop Phoenix 1.5 support from 4.0.0

Dependencies

  • Elixir >= 1.12
  • Phoenix >= 1.6.0

Installation

Install latest version:

mix archive.install github c4710n/phx_custom

Install released version on Hex.pm:

mix archive.install hex phx_custom

Available Tasks

Docs

Usage

Visit HexDocs for more details.

For now, have a look at the following quickstart:

# create an project
$ mix phx.new project
$ cd project

# install dependencies
$ mix deps.get

# patch project for using `mix release`
$ mix phx.custom.release .

$ mix ecto.setup
$ mix phx.server

# patch project for using Docker
$ mix phx.custom.docker .

# build an image for production
$ docker build -t project .

License

MIT