webix-hub / docmanager-go

Backed for Webix Document Manager

Home Page:https://webix.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backed for Webix Document Manager

How to start

  • create db
  • create config.yml with DB access config
db:
  host: localhost
  port: 3306
  user: root
  password: 1
  database: files
  • start the backend
go build
./wfs-ls -data path/to/file/storage

Readonly mode

./wfs-ls -readonly -data path/to/file/storage

Set upload limit

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

Use external preview generator

./wfs-ls -preview http://localhost:3201 -data path/to/file/storage

Other ways of configuration

  • config.yml in the app's folder
uploadlimit: 10000000
root: ./
port: 80
readonly: false
preview: ""
  • env vars
APP_ROOT=/files APP_UPLOADLIMIT=300000 wfs-ls

About

Backed for Webix Document Manager

https://webix.com


Languages

Language:Go 99.5%Language:Dockerfile 0.5%