Created
June 27, 2018 04:42
-
-
Save toraritte/983cc6a3e3f55527c15b5acbbbb50aaf to your computer and use it in GitHub Desktop.
Set up basic Phoenix app for testing IEx.pry via shell script
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
| #!/bin/sh | |
| 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