/react-project-starter

Automated Build / testing / dev environment

Primary LanguageJavaScript

React Course Build

An automated starter project for ES6 / React development

Installation

  1. Install Node.js 4.2.3
  2. Install git.
  3. 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
  1. Open a command prompt
  2. Change to the directory that will contain your project.
  3. Copy the source repository to your computer: git clone https://github.com/chrisminnick/react-project-starter.git
  4. Change to the project directory
  5. npm rebuild (or, just run the ./gulp.sh shell script)

Usage

To build:

  1. Run gulp karma to start the Karma server
  2. Navigate to http://localhost:9876 in at least one browser.
  3. Run gulp to run the build.

To run the application:

  1. Run gulp run to start a local web server.
  2. A browser should launch. If not, navigate to http://localhost:8000

Credits

License