Frontend included in repository.

This commit is contained in:
Leo Vasanko
2023-10-21 22:30:47 +03:00
committed by Leo Vasanko
parent e68a05e663
commit 93351ae86d
44 changed files with 2254 additions and 39 deletions

View File

@@ -11,3 +11,15 @@ Create your user account:
```sh
hatch run cista --user admin --privileged
```
## Build frontend
Prebuilt frontend is provided in repository but for any changes it will need to be manually rebuilt:
```sh
cd cista-front
npm install
npm run build
```
This will place the front in `cista/wwwroot` from where the backend server delivers it, and that also gets included in the Python package built via `hatch build`.