At first, install extensible version manager asdf and support for your favorite shell.
Then install following plugins:
$ asdf plugin-add erlang
$ asdf plugin-add elixir
$ asdf plugin-add nodejs
You need to install inotify-tools
package in order to support code-reloading.
Example for Fedora Linux distribution:
$ sudo dnf install inotify-tools
For using :observer
you need to install locally wxWidgets
or compatible UI back-end.
Example for Fedora Linux distribution:
sudo dnf install wxGTK3-devel mesa-libGL-devel mesa-libGLU-devel
For using :observer
you need to install locally wxmac
:
$ brew install wxmac
$ asdf install erlang 20.3
$ asdf install elixir 1.6.4
In order to enable shell history, please add this somewhere to your favorite's shell configuration files:
export ERL_AFLAGS="-kernel shell_history enabled"
$ mix local.hex
$ mix local.rebar --force
$ mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez
$ asdf install nodejs 6.10.3
$ erl -version
$ elixir --version
$ node -v
$ mix deps.get
$ mix test
$ mix phx.new . --umbrella --app air_quality --no-brunch --no-ecto --no-html
Follow instructions specific for your operating system from here. Then proceed with configuration and authorization of your account:
$ gcloud init
I would like to recommend creating separate project for that repository, it will be easier perform a cleanup later.