项目作者: webix-hub

项目描述 :
Backed for Webix Document Manager
高级语言: Go
项目地址: git://github.com/webix-hub/docmanager-go.git
创建时间: 2020-04-22T11:34:37Z
项目社区:https://github.com/webix-hub/docmanager-go

开源协议:

下载


Backed for Webix Document Manager

How to start

  • create db
  • create config.yml with DB access config
  1. db:
  2. host: localhost
  3. port: 3306
  4. user: root
  5. password: 1
  6. database: files
  • start the backend

```shell script
go build
./wfs-ls -data path/to/file/storage

  1. #### Readonly mode
  2. ```shell script
  3. ./wfs-ls -readonly -data path/to/file/storage

Set upload limit

```shell script
./wfs-ls -upload 50000000 -data path/to/file/storage

  1. #### Use external preview generator
  2. ```shell script
  3. ./wfs-ls -preview http://localhost:3201 -data path/to/file/storage

Other ways of configuration

  • config.yml in the app’s folder
  1. uploadlimit: 10000000
  2. root: ./
  3. port: 80
  4. readonly: false
  5. preview: ""
  • env vars

shell script APP_ROOT=/files APP_UPLOADLIMIT=300000 wfs-ls