Created
October 16, 2016 20:47
-
-
Save lasseebert/36d73c60feab24dae82cb49e0ae74541 to your computer and use it in GitHub Desktop.
This file contains 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 phoenix.new --no-html --no-brunch my_app | |
* creating my_app/config/config.exs | |
* creating my_app/config/dev.exs | |
* creating my_app/config/prod.exs | |
# ... more files here | |
* creating my_app/priv/static/js/phoenix.js | |
* creating my_app/priv/static/images/phoenix.png | |
* creating my_app/priv/static/favicon.ico | |
Fetch and install dependencies? [Yn] | |
* running mix deps.get | |
We are all set! Run your Phoenix application: | |
$ cd my_app | |
$ mix phoenix.server | |
You can also run your app inside IEx (Interactive Elixir) as: | |
$ iex -S mix phoenix.server | |
Before moving on, configure your database in config/dev.exs and run: | |
$ mix ecto.create | |
$ cd my_app | |
$ mix ecto.create | |
==> connection | |
Compiling 1 file (.ex) | |
# ... more compiling here | |
==> my_app | |
Compiling 9 files (.ex) | |
Generated my_app app | |
The database for MyApp.Repo has been created |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment