Web user interface for the Terra platform.
This project was bootstrapped with Create React App.
Guide here.
Builds/deploying handled by CircleCI.
Requests related to the funtionality or usability of the UI can be submitted as issues on this repo. However, as features often impact multiple components of the Terra platform, we recommend users submit feature requests through the main Terra feature request page. See this article for more details.
-
We use node@8 (the current LTS). On Darwin with Homebrew:
brew install node@8; brew link node@8 --force
-
Update npm:
npm install -g npm@6
-
Install deps:
npm install
-
Start development server, which will report any lint violations as well:
npm start
-
Testing:
npm test
-
Code style:
- Not in IntelliJ: use an eslint plugin.
- In IntelliJ: when you open the project, go to
Settings -> Editor -> Code Style -> Javascript
, click the gear next toScheme
, and import js-style.xml; then close Settings and right-click .eslintrc.js and clickApply Eslint Code Style Rules
.
See the wiki.