FountainJS / generator-fountain-webapp

Yeoman 'fountain' generator to start a webapp
http://fountainjs.io
MIT License
963 stars 67 forks source link

can't deploy it on heroku at all please need help #212

Open heshamelmasry77 opened 7 years ago

heshamelmasry77 commented 7 years ago

Angular 1, java script , gulp

heshamelmasry77 commented 7 years ago

i found what was the error, you need to go to this file browsersync.conf.js and add port: process.env.PORT || 5000 thats how it will work.


const conf = require('./gulp.conf');

module.exports = function () {
  return {
    server: {
      baseDir: [
        conf.paths.tmp,
        conf.paths.src
      ]
    },
    open: false,
    port: process.env.PORT || 5000
  };
};