Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1003 Bytes

File metadata and controls

45 lines (31 loc) · 1003 Bytes

capbash-elixir

Scripts for installing elixir a functional, meta-programming aware language built on top of the Erlang VM., should be used in conjunction with capbash

How to Install

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 elixir into your project

capbash install elixir

Configurations

The available configurations include:

ELIXIR_VERSION=${ELIXIR_VERSION-v1.0.0}
ELIXIR_MODE=${ELIXIR_MODE-docker}
ELIXIR_LAUNCHER_DIR=${ELIXIR_LAUNCHER_DIR-/var/local/elixir/$ELIXIR_VERSION}

Deploy to Remote Server

To push the elixir 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> elixir

For example,

capbash deploy 127.0.0.1 elixir