Shared Hosting for Everyone, imagined by developers, for developers.
Discovering the Public Cloud1.13 | 1.14 | 1.15 | 1.16 | 1.17 |
The default version can be changed from the administration section, under Environment > Elixir. This is the version that is especially used when you start mix
.
Versions are not necessarily already installed.
To force the use of a different version of Elixir other than the default one, define the environment variable ELIXIR_VERSION
:
$ ELIXIR_VERSION=1.14 elixir
In your scripts, use /usr/bin/elixir
as shebang:
#!/usr/bin/elixir
Your Elixir environment starts off empty, with no ready installed libraries.
To deploy an HTTP application with Elixir, create an Elixir type site in the Web > Sites section.
You need to specify the command that will start your Elixir application, for example:
mix $HOME/myapp/phx.server
Your application must absolutely listen to IP ::
and the port shown in the site configuration in the Command field or use the IP and PORT environment variables.