https://github.com/webix-hub/docmanager-go
Backed for Webix Document Manager
https://github.com/webix-hub/docmanager-go
webix webix-backend webix-filemanager
Last synced: 9 months ago
JSON representation
Backed for Webix Document Manager
- Host: GitHub
- URL: https://github.com/webix-hub/docmanager-go
- Owner: webix-hub
- Created: 2020-04-22T11:34:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-09T11:57:51.000Z (over 3 years ago)
- Last Synced: 2025-03-30T06:25:00.786Z (over 1 year ago)
- Topics: webix, webix-backend, webix-filemanager
- Language: Go
- Homepage: https://webix.com
- Size: 355 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Backed for Webix Document Manager
==================
### How to start
- create db
- create config.yml with DB access config
```yaml
db:
host: localhost
port: 3306
user: root
password: 1
database: files
```
- start the backend
```shell script
go build
./wfs-ls -data path/to/file/storage
```
#### Readonly mode
```shell script
./wfs-ls -readonly -data path/to/file/storage
```
#### Set upload limit
```shell script
./wfs-ls -upload 50000000 -data path/to/file/storage
```
#### Use external preview generator
```shell script
./wfs-ls -preview http://localhost:3201 -data path/to/file/storage
```
#### Other ways of configuration
- config.yml in the app's folder
```yaml
uploadlimit: 10000000
root: ./
port: 80
readonly: false
preview: ""
```
- env vars
```shell script
APP_ROOT=/files APP_UPLOADLIMIT=300000 wfs-ls
```