Skip to content

Latest commit

 

History

History
137 lines (91 loc) · 2.24 KB

README.md

File metadata and controls

137 lines (91 loc) · 2.24 KB

~/dotfiles

Build Status

Personal configuration files.

Git Clone with Submodules

git clone --recurse-submodules https://github.com/morazow/dotfiles

Or update submodules:

git submodule update --init --recursive

Setup Development Machine

Setup passwordless sudo for main user:

Add these to the /etc/sudoers.d/<USER> file:

<USER> ALL=(ALL) NOPASSWD: ALL

Install initial essential command line tools:

sudo apt install software-properties-common build-essential apt-transport-https ca-certificates -y
sudo apt install vim git curl wget -y

Install Python 3 version:

sudo apt install python3 python3-pip -y

Install Ansible tools:

Ensure that the pip is installed:

python3 -m pip -V

Install ansible:

python3 -m pip install --user ansible

Run minimal development machine setup:

~/.local/bin/ansible-playbook playbook.yml

Restart and select Regolith as window manager on the next login.

Setup Java

List the available Java versions:

sdk list java

Install Java 17 and 11 Temurin versions:

sdk install java 17.0.6-tem
sdk install java 11.0.18-tem

Set Java 17 as default:

sdk default java 17.0.6-tem

Build Java Tools

Build eclipse.jdt.ls, it is required for java-debug:

cd ~/Devel/git/tools/eclipse.jdt.ls/
./mvnw clean install -DskipTests

Build java-debug:

cd ~/Devel/git/tools/java-debug/
./mvnw clean install -DskipTests

Build vscode-java-test:

cd ~/Devel/git/tools/vscode-java-test/
npm install && npm run build-plugin

Build vscode-java-dependency:

cd ~/Devel/git/tools/vscode-java-dependency/
npm install && npm run build-server

Install Coursier

Like Java installations, install coursier:

curl -fLo coursier https://github.com/coursier/launchers/raw/master/coursier
mv coursier ~/.local/bin/
chmod +x ~/.local/bin/coursier

Clean Neovim State

Remove neovim folders for fresh start:

rm -rf ~/.local/share/nvim/*
rm -rf ~/.local/state/nvim/*
rm -rf ~/.cache/nvim/*

License

The MIT License (MIT)