diff --git a/README.md b/README.md index 9d6d9fec..d8c35021 100644 --- a/README.md +++ b/README.md @@ -8,14 +8,18 @@ Agent is in a preliminary state. You can click around, and most interactions wil ## Set up instructions +Prerequisite: Install Node.js
+Verify that you are running at least node v4.x.x and npm 3.x.x by running node -v and npm -v in a terminal/console window. Older versions produce errors. + ``` git clone git@github.com:UltimateHackingKeyboard/agent.git cd agent npm install npm run build +npm run webpack-dev-server ``` -In the repository you can find a `gulpfile.js` for running [browsersync](https://www.browsersync.io/), which speeds up the development process. You can fire it up with `gulp serve`. +The agent will be hosted on `localhost:8080`. ## Contribute diff --git a/gulpfile.js b/gulpfile.js index 819846a7..2aca3378 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,5 +1,4 @@ var gulp = require('gulp'); -var browserSync = require('browser-sync').create(); var args = require('yargs').argv; var gulpif = require('gulp-if'); var sass = require('gulp-sass'); @@ -11,16 +10,6 @@ var paths = { cssDest: 'css' } -gulp.task('serve', function () { - browserSync.init({ - server: { - baseDir: "./" - }, - }); - - gulp.watch(['*.html', '*.css', '*.js']).on('change', browserSync.reload); -}); - gulp.task('sass', function () { return gulp.src(paths.sassAll) .pipe(gulpif(args.debug, sourcemaps.init())) diff --git a/package.json b/package.json index 3923576d..574a267b 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ }, "license": "GPL-3.0", "devDependencies": { - "browser-sync": "^2.13.0", "gulp": "^3.9.1", "gulp-if": "^2.0.1", "gulp-sass": "^2.3.2",