Elixir is trash (maybe)
i try to deploy webapp to my server and it's fucking hard, download the exact version tho is another problem
how the fuck people can live with it? no wonder if they are not popular as that even they tell whatsapp and discord use elixir for their services but still fuck you
bonus https://www.youtube.com/watch?v=YFSrMIpUEgE
--- cheatsheet (?)
$ sudo apt-get install curl git autoconf build-essential libncurses5-dev libwxgtk3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev openjdk-11-jdk
$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1 && echo '. "$HOME/.asdf/asdf.sh"' >> ~/.bashrc && echo '. "$HOME/.asdf/completions/asdf.bash"' >> ~/.bashrc
$ sudo apt install git
$ asdf plugin add erlang && asdf plugin add elixir
$ sudo apt-get install automake autoconf libssl-dev libncurses5-dev
$ asdf install erlang 25.3.2.7 && asdf install elixir 1.14.0-otp-25
$ asdf global erlang 25.3.2.7 && asdf global elixir 1.14.0-otp-25
$ elixir --version
>Thanks god
Code local, deploy with docker… Problem solved (except deployment with Docker is another step breaking your legs and brainz)
@770
the problem is installing exact version of elixir and erlang is little bit tricky, i dont know if i can use docker and make it simple but i managed and deployed the website without docker, docker is only for lamer
Skills issues
$ sudo apt-get install curl git autoconf build-essential libncurses-dev libwxgtk3.2-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev openjdk-11-jdk
You can build Elixir as a release. It will have Erlang as well.
```Self-contained. A release does not require the source code to be included in your production artifacts. All of the code is precompiled and packaged. Releases do not even require Erlang or Elixir in your servers, as it includes the Erlang VM and its runtime by default. Furthermore, both Erlang and Elixir standard libraries are stripped to bring only the parts you are actually using```
https://hexdocs.pm/mix/Mix.Tasks.Release.html