How to read templates from repository like bit bucket or vsts?

  • Hi sir,

    how to specify our git client url in jsreport config file.

    "httpPort": 5488,
    "store": {
    "provider": "fs"
    "blobStorage": {
    "provider": "fs"
    "logger": {
    "console": {
    "transport": "console",
    "level": "debug"
    "file": {
    "transport": "file",
    "level": "info",
    "filename": "logs/reporter.log"
    "error": {
    "transport": "file",
    "level": "error",
    "filename": "logs/error.log"
    "allowLocalFilesAccess": true,
    "reportTimeout": 60000,
    "workers": {
    "numberOfWorkers": 2
    "extensions": {
    "authentication": {
    "cookieSession": {},
    "admin": {
    "username": "admin",
    "password": "password"
    "enabled": false
    "sample-template": {
    "createSamples": true

    I would like to store my templates in file system (fs store) but those templates data should read from repository like bit bucket or vsts .how to specify repository details in jsreport configuration file?

  • This isn't possible at this moment. jsreport won't handle git commands for you. You need to use your git client and configure it there.

  • But how it will reflect in jsreport studio without configuring any thing on jsrreport configuration file?
    Because in configuration we are telling only about store.
    Sorry sir i didn't get your point?

  • I think you are telling me to git clone inside it and rename folder to data right?
    Then gitignore data/settings ,node_modules

    Then instruct devs to call npm install and npm start

    Is this correct approach?Also compared to mongo db ,Is fs store is more faster?
    Also now we are running jsreport using mongo db store and deploying via docker to aws.

    Also our application is multi tenant so templates will be more for each client.Is by dockerizing huge number of templates (if our store is file system) in container will affect slowness in report or any issues occur while container huge folder size.Because we are trying to change our store from mongo db to file system.Please suggest any solution?

Log in to reply

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.