Testing the UI build locally¶
During local development the UI is served in its original, unprocessed form. In production, a minified/built version of the UI (generated using webpack) is used instead.
To build the UI locally:
- Install local dependencies by running
yarn install --no-bin-linksfrom the project root.
yarn buildto create the
Then start gunicorn/runserver as usual.