Editorial frontend, driven by EditVR’s API.
- Node.js (See
package.json:enginesfor correct version). - Yarn
- Clone this repository.
- In this repository’s root folder, run:
yarn. - To start the dev server, run:
yarn start.
In the ./src/config folder, you will see production.json and development.json files. These contain configuration for editvr-frontend, feel free to adjust as needed.
This project makes use of Jest and Enzyme. Test files should be located in the same directory as the component the test file is testing, or in the __test__ directory.
- To watch files and run tests:
yarn test. - To see test coverage reports:
yarn coverage.
For more information about tests on this project, please read this documentation:
You may need to install Watchman to support create-react-app’s testing utilities. If you end up seeing EMFILE: too many open files errors, run: brew update ; brew install watchman.
This project is automatically deployed when changes are merged from the develop branch into the master branch.
- To generate a production build:
yarn build. - To deploy EditVR:
yarn deploy.
The process around contributing to this codebase and the workflow by which code changes are proposed and accepted into this project are documented here.
EditVR is brought to you with love by Four Kitchens.
Contributors
editvr-frontend is GPL-3.0 licensed.