Skip to content

Instantly share code, notes, and snippets.

@ventsislaf
Last active August 1, 2020 06:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ventsislaf/8169163abbf5aa9b6413 to your computer and use it in GitHub Desktop.
Save ventsislaf/8169163abbf5aa9b6413 to your computer and use it in GitHub Desktop.
Generate secret key base for Phoenix app
mix phoenix.gen.secret
@tres
Copy link

tres commented Mar 29, 2018

mix phoenix.gen.secret is deprecated. Use phx.gen.secret instead.

@the-mikedavis
Copy link

Phoenix 1.4 they're removing mix phoenix.*. Instead use phx.* for everything. I.e.

$ mix phx.gen.secret
$ mix phx.gen.html Accounts User users name:string age:integer
$ mix phx.routes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment