Run pspdfkit server
- read the document: https://pspdfkit.com/getting-started/server/?product=server&integration=http&backend=nodejs&project=new-project
- mkdir new folder
- create
docker-compose.yml
file and past example file in document docker-compose.yml
run pspdfkit server
If it's work, you are able visit http://localhost:5000/dashboard
- username:
dashboard
- password:
secret
- git clone
- cd foldername
npm i
npm start
- Upload an office file via
http://localhost:5000/dashboard
, then will get a document Id, e.x.7KPS77MPAZ10AA18FKP5WGMBQ1
- visit:
http://localhost:3000/documents/7KPS77MPAZ10AA18FKP5WGMBQ1