mix phx.new.web

Creates a new Phoenix web project within an umbrella project.

It expects the name of the otp app as the first argument and for the command to be run inside your umbrella application's apps directory:

$ cd my_umbrella/apps
$ mix phx.new.web APP [--module MODULE] [--app APP]

This task is intended to create a bare Phoenix project without database integration, which interfaces with your greater umbrella application(s).

Examples

mix phx.new.web hello_web

Is equivalent to:

mix phx.new.web hello_web --module HelloWeb

Supports the same options as the phx.new task. See Mix.Tasks.Phx.New for details.

Summary

Functions

run(args)

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.

© 2014 Chris McCord
Licensed under the MIT License.
https://hexdocs.pm/phoenix/Mix.Tasks.Phx.New.Web.html