LoginSignup
6
3

More than 5 years have passed since last update.

jupyter-notebookでElixirを実行する

Last updated at Posted at 2018-04-30

上記にある通りですが、メモとして残します。

環境を整えるのに、Erlangのビルドツールrebarが必要なので、事前にインストールします。

mix local.rebar --force

デフォルトで、~/.mixに格納されるのでパスを通しておきます。
環境変数 MIX_HOME を事前に設定しておくと、その場所に格納されます。

IElixirのコンパイル

git clone https://github.com/pprzetacznik/IElixir.git
cd IElixir
mix deps.get
mix test
MIX_ENV=prod mix compile

jupyterに登録

./install_script.sh

あとはいつも通りjupyter-notebookを実行するだけです。

6
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
3