Creates a new Dialup project.
It expects the path of the project as an argument.
mix dialup.new PATH [--app APP_NAME] [--module MODULE_NAME]A project at the given PATH will be created with:
- lib/APP_NAME.ex - Application entry point
- lib/root.html.heex - HTML shell (customize <head>, hooks, analytics)
- lib/app/layout.ex / layout.css - Root layout
- lib/app/page.ex / page.css - Home page at /
- lib/app/error.ex / error.css - Error page (404, 500)
- priv/static/ - Static assets directory (images, fonts, favicon)
- mix.exs - Mix project configuration
- README.md - Project documentation
- .gitignore - Git ignore patterns
Options
--app APP_NAME- The OTP application name (defaults to PATH basename)--module MODULE_NAME- The base module name (defaults to camelized PATH)
Examples
mix dialup.new hello_world
mix dialup.new my_app --app my_custom_app
mix dialup.new my_app --module MyCustomModule