   CONFIG_DIR = 'etc'
   BUILD_DIR = 'public'
   DOC_DIR = 'doc'
+
+  # Port to use to run the local webserver
+  port = process.env.LOCAL_PORT or 8888
 
   # Load Grunt tasks
   grunt.loadNpmTasks 'grunt-contrib-clean'

    brunch:
      serve:
        action: 'serve'
        port: 8888
      serveAsync:
        action: 'serve'
        port: 8888
        async: true
      watch:
        action: 'watch'
        port: 8888
      compile:
        action: 'compile'
      build:

        command: 'node_modules/.bin/html2jade app/assets/index.html'
      # Run Harp server (production mode)
      harp:
        command: "node_modules/.bin/harp server public --port #{process.env.PORT or port}"

  ## Build tasks

