Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Optimum Templates

Phoenix generator templates customized to enforce Credo rules.

Targets Phoenix 1.8.x (tested against 1.8.7).

Usage

Add the repo as a git submodule to your Phoenix app (use --recurse-submodules when cloning projects that already include this submodule):

git submodule add https://github.com/optimumBA/optimum_templates priv/templates

When cloning a project that already has this submodule:

git clone --recurse-submodules <repo-url>

Then run a generator, e.g.

mix phx.gen.auth Accounts User users
mix phx.gen.schema Accounts.User users name:string age:integer

About

Phoenix generator templates with Credo rules enforced

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors