Create a New Project
New Project
Create a new Elixir project using.
$ mix new (project_name)
$ cd (project_name)
$ tree
The file mix.exs
defines the configuration of your project. The source code lives under lib/
.
While in the top-level directory of the application (the one containing the mix.exs
file), use this command to compile the application.
$ mix
Some helpful options and commands to use from the command prompt:
mix help
mix help run
iex -h
elixir -h