Skip to content

Instantly share code, notes, and snippets.

@motephyr
Created July 10, 2017 08:48
Show Gist options
  • Save motephyr/e5db9a0682008e9a7e4d88a0f459023e to your computer and use it in GitHub Desktop.
Save motephyr/e5db9a0682008e9a7e4d88a0f459023e to your computer and use it in GitHub Desktop.
middle2 執行elixir phoenix專案
Aptfile加入
wget
=======================
m2-build.sh chmod 755,加入
export HOME=/root
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && dpkg -i erlang-solutions_1.0_all.deb
apt-get update -y
apt-get install -y esl-erlang apt-utils elixir
mix local.hex
mix archive.install 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