mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
Fix initial setup, have dev server only listen on localhost.
This commit is contained in:
parent
315a91ab5c
commit
27f8354cf1
3 changed files with 6 additions and 2 deletions
|
@ -14,7 +14,8 @@ FrankerFaceZ uses node.js to manage development dependencies and to run an HTTP
|
|||
server for development. To get everything you need:
|
||||
|
||||
1. Install node.js
|
||||
2. Run ```npm install``` within the FrankerFaceZ directory.
|
||||
2. Run ```npm install -g gulp``` to install the ```gulp``` command line utility.
|
||||
3. Run ```npm install``` within the FrankerFaceZ directory.
|
||||
|
||||
|
||||
From there, you can use gulp to build the extension from source simply by
|
||||
|
|
|
@ -117,6 +117,6 @@ gulp.task('server', function() {
|
|||
fs.createReadStream(file).pipe(res);
|
||||
});
|
||||
|
||||
}).listen(8000);
|
||||
}).listen(8000, "localhost");
|
||||
util.log("[" + util.colors.cyan("HTTP") + "] Listening on Port: " + util.colors.magenta("8000"));
|
||||
});
|
3
package.json
Normal file → Executable file
3
package.json
Normal file → Executable file
|
@ -10,12 +10,15 @@
|
|||
"gulp-changed": "^1.1.0",
|
||||
"gulp-clean": "^0.3.1",
|
||||
"gulp-concat": "^2.4.3",
|
||||
"gulp-declare": "^0.3.0",
|
||||
"gulp-filesize": "0.0.6",
|
||||
"gulp-footer": "^1.0.5",
|
||||
"gulp-header": "^1.2.2",
|
||||
"gulp-js-escape": "^1.0.1",
|
||||
"gulp-rename": "^1.2.0",
|
||||
"gulp-uglify": "^1.0.2",
|
||||
"gulp-util": "^3.0.2",
|
||||
"gulp-wrap": "^0.11.0",
|
||||
"request": "^2.51.0"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue