cp config.example.yml config.yml
vim config.yml
dep ensure
go test ./...
Get preview link
POST http://0.0.0.0:8001/api/v1/previews
{"file_path": "/path/to/file/in/your/storage/example.xls"}
Status check
GET http://0.0.0.0:8001/api/v1/status/check
cd [project path]
sudo docker build -t msofficepreview .
// prod
sudo docker run --restart=always -d -p 8001:8001 --network host --mount type=bind,source=/storage/dir/path,target=/storage,readonly msofficepreview
// or dev
sudo docker run -d -p 8001:8001 --network host --mount type=bind,source=/home/storage,target=/storage,readonly msofficepreview
// list containers
sudo docker ps
- Add Redis support as a storage provider
- Add Benchmark tests
- Improve tests coverage
- Improve speed
- Add support of more WOPI methods