Last active
June 27, 2018 04:41
-
-
Save toraritte/fd561533f611231c7eaec97c2b899663 to your computer and use it in GitHub Desktop.
Set up basic Phoenix app for testing IEx.pry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ mix phx.new puffin | |
| $ cd puffin | |
| $ mix phx.gen.html Accounts User users name:string username:string:unique | |
| $ sed -i '/ get/i \ resources "/users", UserController' lib/puffin_web/router.ex | |
| $ mix ecto.create | |
| $ mix ecto.migrate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment