{"action":"created","issue":{"url":"https://api.github.com/repos/jsreport/jsreport/issues/60","labels_url":"https://api.github.com/repos/jsreport/jsreport/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/jsreport/jsreport/issues/60/comments","events_url":"https://api.github.com/repos/jsreport/jsreport/issues/60/events","html_url":"https://github.com/jsreport/jsreport/issues/60","id":68785390,"number":60,"title":"jsreport on the OpenShift PaaS","user":{"login":"araczkowski","id":1263968,"avatar_url":"https://avatars.githubusercontent.com/u/1263968?v=3","gravatar_id":"","url":"https://api.github.com/users/araczkowski","html_url":"https://github.com/araczkowski","followers_url":"https://api.github.com/users/araczkowski/followers","following_url":"https://api.github.com/users/araczkowski/following{/other_user}","gists_url":"https://api.github.com/users/araczkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/araczkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araczkowski/subscriptions","organizations_url":"https://api.github.com/users/araczkowski/orgs","repos_url":"https://api.github.com/users/araczkowski/repos","events_url":"https://api.github.com/users/araczkowski/events{/privacy}","received_events_url":"https://api.github.com/users/araczkowski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-04-15T20:57:16Z","updated_at":"2015-05-24T15:03:10Z","closed_at":null,"body":"Hi,\r\nI would like to run jsreport on OpenShift\r\n\r\nFor those I suppose I will need to add some additional code and adapt the jsreport. \r\nI'm guessing that: \r\n1. possibility to pass the server IP to jsreport should be add\r\n2. ???\r\nany ideas what else?\r\nDid anybody was able to run jsreport on OpenShift?\r\n\r\nPS\r\nI will start the repo on github when I find a time\r\nthe first version of the server.js will be like below\r\n\r\nThanks and regards\r\nAndrzej\r\n\r\n\r\n\r\n``` javascript\r\n#!/bin/env node\r\n\r\nvar servHost = process.env.OPENSHIFT_NODEJS_IP || '127.0.0.1';\r\nvar servPort = process.env.OPENSHIFT_NODEJS_PORT || 5000;\r\nvar jsreport = require('jsreport');\r\n\r\n\r\ntry {\r\n    jsreport.bootstrapper({\r\n        httpPort: servPort,\r\n        httpIp: servHost\r\n    }).start();\r\n    console.log('Started jsreport on IP: ' + servHost + ' port: ' + servPort);\r\n\r\n} catch (err) {\r\n    console.log('Error: ' + err);\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/jsreport/jsreport/issues/comments/105022942","html_url":"https://github.com/jsreport/jsreport/issues/60#issuecomment-105022942","issue_url":"https://api.github.com/repos/jsreport/jsreport/issues/60","id":105022942,"user":{"login":"pofider","id":2041960,"avatar_url":"https://avatars.githubusercontent.com/u/2041960?v=3","gravatar_id":"","url":"https://api.github.com/users/pofider","html_url":"https://github.com/pofider","followers_url":"https://api.github.com/users/pofider/followers","following_url":"https://api.github.com/users/pofider/following{/other_user}","gists_url":"https://api.github.com/users/pofider/gists{/gist_id}","starred_url":"https://api.github.com/users/pofider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pofider/subscriptions","organizations_url":"https://api.github.com/users/pofider/orgs","repos_url":"https://api.github.com/users/pofider/repos","events_url":"https://api.github.com/users/pofider/events{/privacy}","received_events_url":"https://api.github.com/users/pofider/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T15:03:10Z","updated_at":"2015-05-24T15:03:10Z","body":"I just released new jsreport package and tested it with updated installation instructions for OpenShift. It is working great now. \r\n\r\nThank you very much for your cooperation on this."}}