-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Jeffrey E. Shaver II edited this page Feb 18, 2016
·
19 revisions
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# From the base directory
npm install
# Change to the examples directory
cd examples
npm installnpm install -g gulp// config.js
module.exports = {
hotModuleReloadUri: 'safe-framework-<username>.c9users.io',
port: process.env.PORT
}
- Run this:
gulp watch- Open the Cloud9 menu in the top-left corner
- Click "Open Your User Settings"
- Under the
acekey, there should be another key that sayscustom-types - Under the
custom-typeskey there should be ajson()key - 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"
}
}
}
}npm run buildnpm run build-examplesgit config --global core.editor vim