You will need:
Setup the environment:
npm install
Install the pre-commit hooks:
python3 -m pip install pre-commit
pre-commit install --install-hooks
The linting is managed by pre-commit, but you can run it with:
pre-commit run --all-files
npm start -- --apiUrl="http://localhost:8000/api/" --docsUrl="http://localhost:5000/"
Build the web UI with:
npm run build
Build the image:
docker build . -t sharinghub-ui:latest --build-arg VERSION=$(git rev-parse --short HEAD)
Copyright 2024 CS GROUP - France
SharingHub UI is an open source software, distributed under the Apache License 2.0. See the LICENSE
file for more information.