This repository contains some tutorial Elixer code. I am just trying to get my feet wet, so do not use any of this code!
I am following this tutorial: https://www.tutorialspoint.com/elixir/index.htm
https://elixir-lang.org/install.html#gnulinux
Add Erlang Solutions repository: wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.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
Running into issues installing on my Kali laptop. idk if it is an issue with traveling/wifi of Kali...
Or just docker it: https://hub.docker.com/_/elixir/
run make run_it
to enter a instance of the container so you can run mix new projectname --sup
. This will create a supervised application in the bound volume.
add my own helloworld.ex module in the lib
folder. And add {:plug_cowboy, "~> 2.1"}
to the defp deps do
in the mix.exs
https://hexdocs.pm/phoenix/installation.html#phoenix
make build run_it
then mix phx.new hello
to create your new project.
Change the config/dev.exs
ip binding to 0.0.0.0.
The entrypoint.sh script will run mix ecto.create
on start. That should probably be some elixer code.