{"action":"created","issue":{"url":"https://api.github.com/repos/snibble/xibo_vagrant/issues/1","labels_url":"https://api.github.com/repos/snibble/xibo_vagrant/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/snibble/xibo_vagrant/issues/1/comments","events_url":"https://api.github.com/repos/snibble/xibo_vagrant/issues/1/events","html_url":"https://github.com/snibble/xibo_vagrant/issues/1","id":57341332,"number":1,"title":"Generate settings.php","user":{"login":"snibble","id":371317,"avatar_url":"https://avatars.githubusercontent.com/u/371317?v=3","gravatar_id":"","url":"https://api.github.com/users/snibble","html_url":"https://github.com/snibble","followers_url":"https://api.github.com/users/snibble/followers","following_url":"https://api.github.com/users/snibble/following{/other_user}","gists_url":"https://api.github.com/users/snibble/gists{/gist_id}","starred_url":"https://api.github.com/users/snibble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snibble/subscriptions","organizations_url":"https://api.github.com/users/snibble/orgs","repos_url":"https://api.github.com/users/snibble/repos","events_url":"https://api.github.com/users/snibble/events{/privacy}","received_events_url":"https://api.github.com/users/snibble/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-11T16:40:07Z","updated_at":"2015-02-12T12:54:58Z","closed_at":null,"body":"Need provisioning step to generate a settings.php file that contains:\r\n```\r\n<?php\r\n/*\r\n * Xibo - Digital Signage - http://www.xibo.org.uk\r\n *\r\n * This file is part of Xibo - and is automatically generated by the installer\r\n *\r\n * You should not need to edit this file, unless your SQL connection details have changed.\r\n */\r\ndefined('XIBO') or die(__(\"Sorry, you are not allowed to directly access this page.\") . \"<br />\" . __(\"Please press the back button in your browser.\"));\r\nglobal \\$dbhost;\r\nglobal \\$dbuser;\r\nglobal \\$dbpass;\r\nglobal \\$dbname;\r\n\\$dbhost = '$this->existing_db_host';\r\n\\$dbuser = '$this->existing_db_user';\r\n\\$dbpass = '$existing_db_pass';\r\n\\$dbname = '$this->existing_db_name';\r\ndefine('SECRET_KEY', '$secretKey');\r\n"},"comment":{"url":"https://api.github.com/repos/snibble/xibo_vagrant/issues/comments/74065923","html_url":"https://github.com/snibble/xibo_vagrant/issues/1#issuecomment-74065923","issue_url":"https://api.github.com/repos/snibble/xibo_vagrant/issues/1","id":74065923,"user":{"login":"snibble","id":371317,"avatar_url":"https://avatars.githubusercontent.com/u/371317?v=3","gravatar_id":"","url":"https://api.github.com/users/snibble","html_url":"https://github.com/snibble","followers_url":"https://api.github.com/users/snibble/followers","following_url":"https://api.github.com/users/snibble/following{/other_user}","gists_url":"https://api.github.com/users/snibble/gists{/gist_id}","starred_url":"https://api.github.com/users/snibble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snibble/subscriptions","organizations_url":"https://api.github.com/users/snibble/orgs","repos_url":"https://api.github.com/users/snibble/repos","events_url":"https://api.github.com/users/snibble/events{/privacy}","received_events_url":"https://api.github.com/users/snibble/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T12:54:58Z","updated_at":"2015-02-12T12:54:58Z","body":"Fixed with commit a8358f35752ad40d7f01adb00f392c70e7349e65"}}