Skip to content

Instantly share code, notes, and snippets.

@donatoaz
Last active January 9, 2018 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donatoaz/a52a24e8711cf09aac4faa4f732719c3 to your computer and use it in GitHub Desktop.
Save donatoaz/a52a24e8711cf09aac4faa4f732719c3 to your computer and use it in GitHub Desktop.
# Simple gist to get Erlang+Elixr+Phoenix up and running quick on cloud9
# kudos do @oxyrus, for the medium post
# https://medium.com/@Oxyrus/how-to-install-the-phoenix-framework-on-cloud9-ef0ac265229c
# apparently this is required so as not to fail in some part of the install
sudo touch /etc/init.d/couchdb
# add the erlang solutions repo
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get -y update
# install elixir from the previously added repo
sudo apt-get -y install elixir
# install erlang
sudo apt-get -y install erlang
# install stable version of node
nvm install stable
nvm alias default stable
# install additional packages that may (or may not) be needed...
sudo apt-get -y install erlang-base-hipe erlang-dev erlang-eunit erlang-parsetools
# install phoenix using the mix tool
mix archive.install --force https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment