View Source mix combo_new.saas (combo_new v0.3.0)

Creates a Phoenix project in SaaS type.

This type assumes that the project is for building SaaS, which generally includes following parts:

  1. core logic for the business
  2. web interface for users
  3. web interface for administrators
  4. web API for users (for developer-oriented SaaS)

Usage

It expects the path of the project as an argument.

$ mix combo_new.saas PATH [--app APP] [--module MODULE]

A project at the given PATH will be created. The application name and module name will be retrieved from the PATH, unless --app or --module is given.

Options

  • --app - the name of the OTP application.

  • --module - the name of the base module in the generated skeleton.

  • -v, --version - prints the version.