A file storage for the web
Go to file
2023-10-26 00:08:06 -05:00
cista Test frontend #only_compile 2023-10-26 00:08:06 -05:00
cista-front Test frontend #only_compile 2023-10-26 00:08:06 -05:00
tests Cleanup, bugfixes. Added access control on files and API. 2023-10-23 04:51:39 +03:00
.gitignore Update packaging. 2023-10-15 11:00:29 +03:00
package-lock.json Test frontend #only_compile 2023-10-25 21:26:37 -05:00
pyproject.toml Cleanup, bugfixes. Added access control on files and API. 2023-10-23 04:51:39 +03:00
README.md Frontend included in repository. 2023-10-21 22:30:47 +03:00

Web File Storage

Run directly from repository with Hatch (or use pip install as usual):

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:

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:

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.