Online IDE - AWS Cloud9 introduction

Recently I found that AWS Cloud9 is so good that help me coding in my chromebook.
Here I want to share how I use it with my nodejs project, it is free, fast and easy.

  1. Go to https://aws.amazon.com/tw/cloud9/
  2. Click Create environment and choose your preference
  3. Wait seconds to see your cloud9 IDE
  4. To switch keyboard setting, go to Edit > Keyboard mode > Sublime Vim Emac
  5. Setup nodejs developement environment via terminal

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    # Clone repo 
    git clone repo

    # Switch node version
    nvm install --lts

    # Use new version
    nvm use stable

    # Install yarn
    sudo npm install -g yarn

    # Install package
    yarn

    # Start application
    npm start
  6. To browse application webpage, go to Preview > Preview Running Application