Skip to content
项目

关于

一个可直接运行的 Shelf Cloud docker-compose 示例

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Shelf Showcase

An example of ready-to-run docker-compose for the Shelf App

App Preview Light Theme

App Preview Dark Theme

Quickstart

To start the application simply run:

docker compose up

Then open it in your browser:

http://localhost:8080

If you're running it on the remote machine consider to update API_BASE_URL in the docker-compose.yml from localhost to the LAN IP of your docker host.

By default there is a superuser created when you run the project for the first time with the default credentials:

  • username: admin
  • password: root

You can find more in the following repo:

Re-indexing existing file in the storage

Sometime it is easier to put all your files into the storage and then reindex them instead of manually uploading via web.

In order to do so, first put the files into corresponding user folder in the storage. For example, if you have a user admin, then put files into ./shelf-data/admin.

After that run the command:

docker compose exec shelf-back python manage.py reindex <username>
docker compose exec shelf-back python manage.py reindex-content <username>

The first command will simply add all files in the storage to the database, so you'll see them on the UI as soon as possible.

The second command extract some metadata, such as EXIF, from target files. It can take some, especially if you have lots of media files.

探索相关项目

加载中…