A file storage for the web
Go to file
Leo Vasanko fb03fa5430 Favicon, title, automatic & manual server naming (#2)
Server name may be set in config file. If unset, backend uses the folder name being served. This is shown in page title for site root, and subfolder names are also now shown. New icon of Droppy icon, changing only the color.

Reviewed-on: #2
2023-11-08 23:00:07 +00:00
cista Favicon, title, automatic & manual server naming (#2) 2023-11-08 23:00:07 +00:00
cista-front Favicon, title, automatic & manual server naming (#2) 2023-11-08 23:00:07 +00:00
tests Linting, removed extra line from pyproject.toml. 2023-11-08 13:08:46 -08:00
.gitignore Frontend created and rewritten a few times, with some backend fixes (#1) 2023-11-08 20:38:40 +00:00
pyproject.toml Linting, removed extra line from pyproject.toml. 2023-11-08 13:08:46 -08: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.