28 lines
826 B
Markdown
28 lines
826 B
Markdown
# Web File Storage
|
|
|
|
Run directly from repository with Hatch (or use pip install as usual):
|
|
|
|
```sh
|
|
hatch run cista -l :3000 /path/to/files
|
|
```
|
|
|
|
Settings incl. these arguments are stored to config file on the first startup and later `hatch run cista` is sufficient. If the `cista` script is missing, consider `pip install -e .` (within `hatch shell`) or some other trickery (known issue with installs made prior to adding the startup script).
|
|
|
|
Create your user account:
|
|
|
|
```sh
|
|
hatch run cista --user admin --privileged
|
|
```
|
|
|
|
## Build frontend
|
|
|
|
Frontend needs to be built before using and after any frontend changes:
|
|
|
|
```sh
|
|
cd frontend
|
|
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`.
|