cista-storage/README.md

26 lines
856 B
Markdown
Raw Normal View History

2023-10-15 05:31:06 +01:00
# Web File Storage
Run directly from repository with Hatch (or use pip install as usual):
2023-10-15 05:31:06 +01:00
```sh
hatch run cista -l :3000 /path/to/files
2023-10-15 05:31:06 +01:00
```
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).
2023-10-19 17:54:03 +01:00
Create your user account:
```sh
hatch run cista --user admin --privileged
```
2023-10-21 20:30:47 +01:00
## 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`.