-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Jeffrey E. Shaver II edited this page May 16, 2016
·
11 revisions
We should keep our install of nodejs up-to-date. As of March 22, 2016, the latest version is v5.9.0.
nvm install v5.9.0
nvm alias default v5.9.0# From the base directory
npm installnpm install -g webpack// config.js
module.exports = {
apiUri: 'https://safe-app-<username>.c9users.io/api',
bannerText: '',
disabledRoutes: [],
hotModuleReloadUri: 'safe-app-<username>.c9users.io',
domain: 'safe-app-<username>.c9users.io',
port: process.env.PORT,
protocol: 'https'
}
- Run this:
npm run dev-server- 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. If not, create it. - 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"
}
}
}
}git config --global core.editor vim