Current section
Files
Jump to
Current section
Files
phx_custom
README.md
README.md
# phx_custom
> Custom official template generated by `mix phx.new` with my own needs.
## Installation
Install latest version:
```sh
mix archive.install github m31271n/phx_custom
```
Install released version on [Hex.pm](https://hex.pm/):
```
mix archive.install hex phx_custom
```
## Usage
### create an umbrella project
> For now, just support umbrella projects generated by `phx_new >= 1.4.10`.
```sh
mix phx.new --umbrella project
cd project
```
### patch custom web template
```sh
mix phx.custom.web .
```
### patch config with optimization for production
```sh
mix phx.custom.config .
```
### patch Dockerfile
```sh
mix phx.custom.docker .
```
### shortcut for [yarn](https://yarnpkg.com/)
Run yarn without changing directory to `apps/*_web/assets`:
```sh
mix phx.custom.yarn . install
```
## License
[MIT](https://stack.m31271n.com/licenses/MIT.txt) © [m31271n](https://stack.m31271n.com)