go build
Normal start
./wfs-ls path-to-web-root
Readonly mode
./wfs-ls -readonly path-to-web-root
Set upload limit
./wfs-ls -upload 50000000
Use external preview generator
./wfs-ls -preview http://localhost:3201/preview path-to-web-root
- 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