-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Jeffrey E. Shaver II edited this page Jan 21, 2016
·
19 revisions
- In server.js change these lines:
// Change these
app.listen(5000, function () {
console.log('Listening on port 5000')
})
// To this:
app.listen(process.env.PORT, function () {
console.log('Listening on port ' + process.env.PORT)
})- Follow the steps on cloud nine to enable the port 8081
- Change the gulpfile.js file like this:
// Change the following line
b.plugin(liveReactLoad)
// To this
b.plugin(liveReactLoad, {port: 8081, host: 'safe-framework-<username>.c9users.io'})- Run
gulp watch