This file is intended to help in setting up a new Linux development environment for Elixir and Elm development.
- Ensure the required directories are present
~/.vim/bundle~/Sandbox~/.bin
- Install
exuberant-ctagssudo apt-get install exuberant-ctags
- Install Elixir
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.debsudo apt-get updatesudo apt-get install esl-erlangsudo apt-get install elixir
- Install NodeJS
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -sudo apt-get install nodejs
- Install Elm
sudo npm install --unsafe-perm=true --allow-root -g elmsudo npm install --unsafe-perm=true --allow-root -g elm-formatsudo npm install --unsafe-perm=true --allow-root -g elm-oraclesudo npm install --unsafe-perm=true --allow-root -g elm-testsudo npm install --unsafe-perm=true --allow-root -g elm-livesudo npm install --unsafe-perm=true --allow-root -g elm-css
- Clone Elixir Language Server
cd ~/Sandboxgit clone https://github.com/JakeBecker/elixir-ls.gitcd elixir-lsmix deps.getmix compilemix elixir_ls.release -o lsp
- Clone the Vundle repo
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
.vimrc is the vim configuration file.
- Copy .vimrc from this repository into your home directory
- Open vim
- Its ok to ignore any warnings at this point, we haven't installed the plugins yet
- Type
:PluginInstall- Vundle will download and install the plugins listed in the .vimrc file
- Type
:qato exit vim
- Copy the
codedark.vimfile to~/.vim/bundle/vim-code-dark/colors/ - Copy the
elm.vimfile to~/.vim/bundle/elm-vim/autoload/to resolveelm-formatwarning about unknown Elm version - Copy the
elmtags.pyfile to~/.bin - Copy the
.ctagsfile to~