|
37 | 37 | #### Building and running
|
38 | 38 |
|
39 | 39 | * Preparation:
|
40 |
| - - Set `node` environment to `14.15.x`, or use `nvm` to run `nvm use v14.15.4` |
| 40 | + - Set `node` environment to `16.20.x`, or use `nvm` to run `nvm use v16.20.0` |
41 | 41 | - If `node_modules` directory already exist in your local working copy, run `rm -fr node_modules/` and `rm -f yarn.lock`.
|
42 | 42 | - Create a `.env` file at the root of the local working copy and add `ESLINT_NO_DEV_ERRORS=true`.
|
| 43 | + - Add additional required environment variables to the `.env` file in root (e.g. the API service address) |
43 | 44 | - Run `yarn install`.
|
44 | 45 |
|
45 | 46 | * Building CSS: Uses sass in `node_modules/sass/sass.js`
|
|
70 | 71 |
|
71 | 72 | #### Software:
|
72 | 73 |
|
73 |
| - * [Node v14](https://github.com/nodejs/Release) |
| 74 | + * [Node v16](https://github.com/nodejs/Release) |
74 | 75 | - Check your version: `node --version`
|
75 |
| - - If the version is not 14, you can `brew install node@14` or use [nvm](https://github.com/creationix/nvm/blob/master/README.md#installation), the Node Version Manager |
| 76 | + - If the version is not 16, you can `brew install node@16` or use [nvm](https://github. |
| 77 | + com/creationix/nvm/blob/master/README.md#installation), the Node Version Manager |
76 | 78 |
|
77 | 79 | * [React v16](https://reactjs.org/versions)
|
78 | 80 | - Storybook used to visualize individual UI components
|
|
108 | 110 | - Makes call to backend for a list of uploads (size depending maxRows variable) on a given page. Expects backend to give total count of uploads fitting filters and the uploads for a specific page. (e.g on page 2, with 10 rows per page, expects items 11-20 from backend and a count of all rows that fit current filters)
|
109 | 111 | - Changing filters should also call backend
|
110 | 112 |
|
111 |
| -#### Samir's Flow for Creating Custom Font Icons |
112 |
| - 1. Create a 200px by 200px artboard in Adobe Illustrator |
113 |
| - 2. Draw Icon and export artboard as SVG (make sure only one color -- white counts as a color but transparent does not) |
114 |
| - 3. Upload all icons to [IcoMoon](https://icomoon.io/app/#/select) 4. Download and unzip resultant zipped file |
115 |
| - 5. Copy contents of the fonts folder (icomoon.eot, icomoon.woff, icomoon.svg, icomoon.tff) and place them in the src/assets/fonts folder overwriting the previous file. |
116 |
| - |
117 |
| - - Make sure you upload ALL custom icons to icomoon so that previously created icons are still accessible |
118 |
| - |
119 | 113 | ---
|
120 | 114 |
|
121 | 115 | Cross-browser Testing Platform and Open Source ❤️ provided by [Sauce Labs][homepage]
|
|
0 commit comments