- Install
yarn yarn startto run development server.- visit
localhost:9966to see live changes.
yarn testto run tests.yarn coverwill run tests and output coverage statistics to console.
yarn integration-testto run selenium tests.yarn integration-test -- --spec ./integration-test/<test-name>.jsto run specific test.
We're using CircleCI 2.0 which makes use of docker images. For this repo, we're running CircleCI on our
custom image which is built from .circleci/docker/Dockerfile and currently published as cpdbdev/cpdbv2_frontend
on Docker Hub.
SKIP_COVERALLS: set totrueto skip sending coverage report to Coveralls. Only do this if Coveralls is down.
Deployment should be almost automatic depending on which branch you pushed.
masterbranch push will trigger production deploybetabranch push will trigger beta deploystagingbranch push will trigger staging deploy
If you want to see each step, look at .circleci/config.yml.
Important: Current version of Docker image is 0.1.2. Please update this when you make changes to it.
docker login
docker build -t cpdbdev/cpdbv2_frontend:0.1.2 .circleci/docker
docker push cpdbdev/cpdbv2_frontend:0.1.2Remember to bump the version of course.
Chrome 45+, Firefox 45+, IE 11, Safari 9+ and iOS 8+ Safari.