Skip to content

Instantly share code, notes, and snippets.

@condef5
Created April 29, 2019 00:14
Show Gist options
  • Save condef5/180fce805bc081e8e0b44f6ceb6cb008 to your computer and use it in GitHub Desktop.
Save condef5/180fce805bc081e8e0b44f6ceb6cb008 to your computer and use it in GitHub Desktop.

Installfest

Follow these steps to make sure your computer is ready for the bootcamp:

  1. Update the system
$ sudo apt-get update
  1. Install curl
$ sudo apt install curl
  1. Install zsh
$ sudo apt install zsh
  1. Install git
$ sudo apt install git
  1. Install ohmyzsh
$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  1. Install linuxbrew
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
$ sudo apt-get install build-essential
  1. Configure Linuxbrew in your ~/.profile by running
$ echo "eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" >>~/.profile
  1. Add Linuxbrew to your PATH
$ eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
  1. 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
  1. Install ruby-install
$ brew install ruby-install
$ ruby-install ruby
$ ruby-install
$ echo "ruby-2.6.1" > ~/.ruby-version
  1. Restart the system or run source ~/.zshrc
$ ruby -v
  1. 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"
  1. Install postgresql
$ brew install postgres
$ postgres --version
  1. Install redis
$ brew install redis
$ redis-cli --version
  1. 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

  1. Setup git
$ git config --global user.name "your name"
$ git config --global user.email "your@email.com"
  1. 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment