Skip to content
Jeffrey E. Shaver II edited this page May 17, 2016 · 11 revisions

Setting up Cloud 9

Updating Node/NPM

We should keep our install of nodejs up-to-date. As of March 22, 2016, the latest version is v6.1.0.

nvm install v6.1.0
nvm alias default v6.1.0

Install node modules

# From the base directory
npm install

Install Webpack

npm install -g webpack

Create a config file

npm run update:config
  • Run this:
npm run start:dev

Having .jsx files open with JSX syntax highlighting

  1. Open the Cloud9 menu in the top-left corner.
  2. Click "Open Your User Settings".
  3. Under the ace key, there should be another key that says custom-types. If not, create it.
  4. Under the custom-types key, there should be a json() key.
  5. Under the json() key, put this key/value pair "jsx": "jsx".

It will look something this after the change:

{
  // ...
  "ace": {
    // ...
    "custom-types": {
      // ...
      "json()" : {
        // ...
        "jsx": "jsx"
      }
    }
  }
}

Configure Cloud9 to use VIM

git config --global core.editor vim