Skip to content
David edited this page Feb 12, 2016 · 19 revisions

Setting up Cloud 9

Updating Node/NPM

We should keep our install of nodejs up-to-date. As of this writing, the latest version if v5.5.0.

nvm install v5.5.0
nvm alias default v5.5.0

Install node modules

# From the base directory
npm install
# Change to the examples directory
cd examples
npm install

Install Gulp

npm install -g gulp

Create a config file

// config.js
module.exports = {
  hotModuleReloadUri: 'safe-framework-<username>.c9users.io',
  port: process.env.PORT
}
  • Run this:
gulp watch

Building safe-framework

npm run build

Building safe-framework examples

npm run build-examples

Configure Cloud9 to use VIM

git config --global core.editor vim

Clone this wiki locally