hc-conversionservice
Follow these steps to run:
- run npm install hc-conversionservice
- In your application specify:
const cs = require('hc-conversionservice');
cs.start();
- Install mongodb or use mongodb atlas
- Create folder called "hc-conversionservice" in your root directory
- Add a folder called config in hc-conversionservice
- Create a file called config.json in hc-conversionservice/config with the following content:
{
"converterlicense":"",
"mongodbURI": "mongodb://localhost:27017/fileinfo",
"port" : "3001",
"runQueue" : true,
"runServer" : true,
"useS3":false,
"s3bucket":"mybucket"
}
- Specify mongodb connection string (default should be ok for local mongodb install)
- Specify desired ports
- If using S3 for permanent storage set useS3 to true and specify awscredentials in "hc-conversionservice/config/awscredentials.json"
- Specify HC license key
- Create "hc-conversionservice/converter" directory and copy content from HC package at "\authoring\converter\bin\win64"