npm install
to add dependenciesgulp watch
to build the app and launch a server onlocalhost:9000
- Clone or copy this repository into a new directory
- Run the initialization script
chmod +x initialize.sh; ./initialize.sh
. It will ask for:- Repository SSH clone URL
- Development API Host
- Production API Host - if unknown give best guess
- QA App Name
- QA Host
- If you want to start without a remote repo initialize with
./initialize.sh -t
- Update
package.json
- Update
author
,name
,version
,description
, andrepository url
with proper values - Run
npm outdated --depth=0
to see if there are new versions of dependencies. If so, consider updating them in the frontend template as well as the project
- Update
- Update
application/index.html
to replace@todo
with proper values - Replace or remove the MIT license (and related reference in the
package.json
) based on your project's requirements
- Run Jest tests with
npm test
- Run React with Karma in Chrome and Firefox with
npm run karma
- Run React tests with gulp at
localhost:9001
withgulp test
- Run a specific test or glob of tests with
gulp test --path './__react-tests__/path/to/test/*/**.js'
- Run a specific test or glob of tests with
- Run React from the command line with
./node_modules/karma/bin/karma start --single-run --browsers PhantomJS
- Run functional tests with
gulp build --env ci && gulp disyntegration