# Installfest Follow these steps to make sure your computer is ready for the bootcamp: 1. Update the system ``` $ sudo apt-get update ``` 2. Install curl ``` $ sudo apt install curl ``` 3. Install zsh ``` $ sudo apt install zsh ``` 4. Install git ``` $ sudo apt install git ``` 5. Install ohmyzsh ``` $ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" ``` 6. Install linuxbrew ``` $ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" $ sudo apt-get install build-essential ``` 7. Configure Linuxbrew in your `~/.profile` by running ``` $ echo "eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" >>~/.profile ``` 8. Add Linuxbrew to your PATH ``` $ eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) ``` 9. 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 ``` 10. Install ruby-install ``` $ brew install ruby-install $ ruby-install ruby $ ruby-install $ echo "ruby-2.6.1" > ~/.ruby-version ``` 11. Restart the system or run source `~/.zshrc` ``` $ ruby -v ``` 12. 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" ``` 13. Install postgresql ``` $ brew install postgres $ postgres --version ``` 14. Install redis ``` $ brew install redis $ redis-cli --version ``` 15. Install editor vscode - Go to the page of [VSCode](https://code.visualstudio.com/Download) - 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 16. Setup git ``` $ git config --global user.name "your name" $ git config --global user.email "your@email.com" ``` 17. Create your [GitHub](http://github.com) 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](https://help.github.com/en/articles/adding-a-new-ssh-key-to-your-github-account) - Check the repository for the class We are ready!