Scripts for installing phoenix development environment, should be used in conjunction with capbash
Install capbash first, more details at: https://github.com/capbash/capbash
curl -s https://raw.githubusercontent.com/capbash/capbash/master/capbash-installer | bash
capbash new YOUR_REPO_ROOT
cd YOUR_REPO_ROOT
Now you can install phoenix into your project
capbash install phoenix
The available configurations include:
ELIXIR_VEION=${ELIXIR_VERSION-v1.0.0-rc2}
PHOENIX_NAME=${PHOENIX_NAME-samplephoenix}
PHOENIX_LAUNCHER_DIR=${PHOENIX_LAUNCHER_DIR-/var/local/apps/${PHOENIX_NAME}}
PHOENIX_REPO=${[email protected]:capbash/samplephoenix.git}
PHOENIX_HTTP_PORT=${PHOENIX_PORT-80}
PHOENIX_SSL_PORT=${PHOENIX_PORT-443}
To push the phoenix script to your server, all you need if the IP or hostname of your server (e.g. 192.167.0.48) and your root password.
capbash deploy <IP> phoenix
For example,
capbash deploy 127.0.0.1 phoenix