This module contains source code for Magda's default UI.
The default Magda UI is a single page React application that is built on Magda backend APIs.
Magda is a monorepo. Before run any script in the sub-module, you need to run
yarn install
at the project root.
yarn dev
yarn build
The bundled frontend resouces files can be found from dist
folder.
magda-web-client
is served by magda-web-server.
Thus, you need to build docker image from magda-web-server:
-
Firstly, run
yarn build
inmagda-web-client
to generate built bundle -
Then, go to magda-web-server:
- Run
yarn build
to buildmagda-web-server
- Run
yarn docker-build-local
oryarn docker-build-prod
for building docker images
More info can also be found from this doc
- Run