Follow these steps to make sure your computer is ready for the bootcamp:
- Update the system
$ sudo apt-get update
- Install curl
$ sudo apt install curl
- Install zsh
$ sudo apt install zsh
- Install git
$ sudo apt install git
- Install ohmyzsh
$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Install linuxbrew
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
$ sudo apt-get install build-essential
- Configure Linuxbrew in your
~/.profile
by running
$ echo "eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" >>~/.profile
- Add Linuxbrew to your PATH
$ eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
- Install chruby
$ brew install chruby
$ echo "source /home/linuxbrew/.linuxbrew/opt/chruby/share/chruby/chruby.sh" >>~/.zshrc
$ echo "source /home/linuxbrew/.linuxbrew/opt/chruby/share/chruby/auto.sh" >>~/.zshrc
- Install ruby-install
$ brew install ruby-install
$ ruby-install ruby
$ ruby-install
$ echo "ruby-2.6.1" > ~/.ruby-version
- Restart the system or run source
~/.zshrc
$ ruby -v
- Install node
$ brew install node@10
$ echo 'export PATH="/home/linuxbrew/.linuxbrew/opt/node@10/bin:$PATH"' >> ~/.zshrc
$ export LDFLAGS="-L/home/linuxbrew/.linuxbrew/opt/node@10/lib"
$ export CPPFLAGS="-I/home/linuxbrew/.linuxbrew/opt/node@10/include"
- Install postgresql
$ brew install postgres
$ postgres --version
- Install redis
$ brew install redis
$ redis-cli --version
- Install editor vscode
-
Go to the page of VSCode
-
Choose for Debian, Ubuntu
-
Click on Install
-
After installation, open Visual Studio Code
-
Ctrl+Shift+P, write extensions and enter
-
Install the next extensions:
- Prettier - Code formatter
- Ruby
- DotENV
- ESLint
$ npm install -g eslint
- Go to File > Preferences > Settings - Cick on Text Editor > Formatting - Select Format on Save
- Jest
- Auto Close Tag
- Import Cost
-
Reload VSCode: Ctrl+Shift+P and write Reload
- Setup git
$ git config --global user.name "your name"
$ git config --global user.email "your@email.com"
- Create your GitHub account
- Setup your ssh keys
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com" $ eval "$(ssh-agent -s)" $ ssh-add ~/.ssh/id_rsa
- Add SSH key to GitHub account
- Check the repository for the class
We are ready!