Installation
if you have not installed Erlang or Elixir yet follow the guide to install them with asdf (opens in a new tab)
To provides arke.new installer as an archive you have to install it from Hex. Before that to build and install it locally, ensure any previous archive versions are removed:
mix archive.install hex arke_new
To install from Hex, run:
mix archive.install hex arke_new
To init the project run on desired folder
MIX_ENV=prod mix do archive.build, archive.install
Commands
Usage:
mix arke.new my_arke_project
Equivalent to:
mix arke.new my_arke_project --app MyArkeProject
Flags | Description | Options | Default |
---|---|---|---|
--app [project-name] | The name of the arke application | - | |
--db [adapter] | Specify the database adapter for Ecto. | postgres | postgres |
--dev | Contribute to the Arke development and use local version of the packages | - | - |
--dashboard | Enable PhoenixLiveView | - | - |
--mailer [mailer] | Specify the mailer to use with Swoosh (opens in a new tab) | mailgun | - |
--terraform | Create a folder containing a terraform template for arke | - | - |
--verbose | Use verbose output | - | - |
-v, --version | Prints the Arke starter version | - | - |
To show the help on terminal run:
mix help arke.new