Skip to content

Instantly share code, notes, and snippets.

@henryhamon
Created August 15, 2016 12:52
Show Gist options
  • Save henryhamon/6eb34f0a4edfef6da9854a46102dfc85 to your computer and use it in GitHub Desktop.
Save henryhamon/6eb34f0a4edfef6da9854a46102dfc85 to your computer and use it in GitHub Desktop.
shell to install Erlang, Elixir and Phoenix on C9.io
# For some reason, installing Elixir tries to remove this file
# and if it doesn't exist, Elixir won't install. So, we create it.
sudo touch /etc/init.d/couchdb
# Standard Ubuntu Elixir installation instructions
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
rm erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-get install esl-erlang
sudo apt-get install elixir
sudo apt-get install erlang-base-hipe erlang-dev erlang-eunit erlang-parsetools
mix local.hex
mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez
sudo service postgresql start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment