Last active
July 25, 2017 22:00
-
-
Save ZephiroRB/871488097749e2209c3f to your computer and use it in GitHub Desktop.
Elixir + Phoenix (Ubuntu 14.04)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Add Erlang Solutions repo: | |
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb | |
#Run: | |
sudo apt-get update | |
#Install the Erlang/OTP platform and all of its applications: | |
sudo apt-get install esl-erlang | |
#Install Elixir: | |
sudo apt-get install elixir | |
#Install NVM | |
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash | |
#Add these lines to your ~/.bashrc, ~/.profile, or ~/.zshrc file to have it automatically sourced upon login: | |
. ~/.nvm/nvm.sh | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
nvm install 5.5 | |
nvm alias default 5.5 | |
nvm use 5.5 | |
#Install Phoenix | |
mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez | |
elixir --detached -S mix phoenix.server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment