An automated starter project for ES6 / React development
- Install Node.js 4.2.3
- Install git.
- Install gulp globally: npm install -g "gulpjs/gulp-cli#4.0" (if not possible, use the ./gulp.sh shell script in the repo)
- note: you may need to use sudo to install globally
- Open a command prompt
- Change to the directory that will contain your project.
- Copy the source repository to your computer: git clone https://github.com/chrisminnick/react-project-starter.git
- Change to the project directory
- npm rebuild (or, just run the ./gulp.sh shell script)
To build:
- Run gulp karma to start the Karma server
- Navigate to http://localhost:9876 in at least one browser.
- Run gulp to run the build.
To run the application:
- Run gulp run to start a local web server.
- A browser should launch. If not, navigate to http://localhost:8000