View Source mix orbit.init (Orbit v0.3.0)

Initialize an Orbit capsule.

$ mix orbit.init OTP_APP MODULE

The OTP_APP argument is the name of the existing OTP application under which the capsule will be hosted, e.g. my_app.

The MODULE argument is the namespace under which the capsule files will be generated, e.g. MyAppCapsule.

Example

$ mix orbit.init my_app MyAppCapsule