2014-01-07 19:36:55 +04:00
|
|
|
Deployment
|
|
|
|
==========
|
|
|
|
|
2015-10-02 15:11:47 +03:00
|
|
|
Testing the UI build locally
|
|
|
|
----------------------------
|
2015-06-01 18:32:14 +03:00
|
|
|
|
2015-06-17 19:22:40 +03:00
|
|
|
During local development the UI is served in its original, unprocessed form. In
|
2017-03-01 16:06:15 +03:00
|
|
|
production, a minified/built version of the UI (generated using webpack) is used instead.
|
2014-04-25 05:34:08 +04:00
|
|
|
|
2015-10-02 15:11:47 +03:00
|
|
|
To build the UI locally:
|
2015-06-17 19:22:40 +03:00
|
|
|
|
2017-03-11 02:12:14 +03:00
|
|
|
* Install local dependencies by running ``yarn install --no-bin-links`` from the project root.
|
2017-06-29 21:32:54 +03:00
|
|
|
* Run ``yarn build`` to create the ``dist`` directory.
|
2015-10-02 15:11:47 +03:00
|
|
|
|
2017-03-01 16:06:15 +03:00
|
|
|
Then start gunicorn/runserver as usual.
|