{"action":"created","issue":{"url":"https://api.github.com/repos/akvo/akvo-web/issues/514","labels_url":"https://api.github.com/repos/akvo/akvo-web/issues/514/labels{/name}","comments_url":"https://api.github.com/repos/akvo/akvo-web/issues/514/comments","events_url":"https://api.github.com/repos/akvo/akvo-web/issues/514/events","html_url":"https://github.com/akvo/akvo-web/issues/514","id":56512023,"number":514,"title":"JSON data folders, style.css & template.phtml files","user":{"login":"Lynngre","id":2675262,"avatar_url":"https://avatars.githubusercontent.com/u/2675262?v=3","gravatar_id":"","url":"https://api.github.com/users/Lynngre","html_url":"https://github.com/Lynngre","followers_url":"https://api.github.com/users/Lynngre/followers","following_url":"https://api.github.com/users/Lynngre/following{/other_user}","gists_url":"https://api.github.com/users/Lynngre/gists{/gist_id}","starred_url":"https://api.github.com/users/Lynngre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lynngre/subscriptions","organizations_url":"https://api.github.com/users/Lynngre/orgs","repos_url":"https://api.github.com/users/Lynngre/repos","events_url":"https://api.github.com/users/Lynngre/events{/privacy}","received_events_url":"https://api.github.com/users/Lynngre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/akvo/akvo-web/labels/1%20-%20Deployment","name":"1 - Deployment","color":"5319e7"},{"url":"https://api.github.com/repos/akvo/akvo-web/labels/1%20-%20Plug-in","name":"1 - Plug-in","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"Lynngre","id":2675262,"avatar_url":"https://avatars.githubusercontent.com/u/2675262?v=3","gravatar_id":"","url":"https://api.github.com/users/Lynngre","html_url":"https://github.com/Lynngre","followers_url":"https://api.github.com/users/Lynngre/followers","following_url":"https://api.github.com/users/Lynngre/following{/other_user}","gists_url":"https://api.github.com/users/Lynngre/gists{/gist_id}","starred_url":"https://api.github.com/users/Lynngre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lynngre/subscriptions","organizations_url":"https://api.github.com/users/Lynngre/orgs","repos_url":"https://api.github.com/users/Lynngre/repos","events_url":"https://api.github.com/users/Lynngre/events{/privacy}","received_events_url":"https://api.github.com/users/Lynngre/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/akvo/akvo-web/milestones/16","labels_url":"https://api.github.com/repos/akvo/akvo-web/milestones/16/labels","id":975085,"number":16,"title":"Magnetokinetic Melon","description":"","creator":{"login":"Lynngre","id":2675262,"avatar_url":"https://avatars.githubusercontent.com/u/2675262?v=3","gravatar_id":"","url":"https://api.github.com/users/Lynngre","html_url":"https://github.com/Lynngre","followers_url":"https://api.github.com/users/Lynngre/followers","following_url":"https://api.github.com/users/Lynngre/following{/other_user}","gists_url":"https://api.github.com/users/Lynngre/gists{/gist_id}","starred_url":"https://api.github.com/users/Lynngre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lynngre/subscriptions","organizations_url":"https://api.github.com/users/Lynngre/orgs","repos_url":"https://api.github.com/users/Lynngre/repos","events_url":"https://api.github.com/users/Lynngre/events{/privacy}","received_events_url":"https://api.github.com/users/Lynngre/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2015-02-11T11:05:48Z","updated_at":"2015-02-23T11:04:06Z","due_on":"2015-02-16T23:00:00Z","closed_at":null},"comments":3,"created_at":"2015-02-04T10:57:46Z","updated_at":"2015-02-24T08:36:42Z","closed_at":null,"body":"'/var/akvo/homepage/data/json-data/cache' needs to have the following folders deployed to it:\r\n\r\nakvopedia-analytics  openaid-orgs\trsr-projects-global-map\r\nakvopedia-articles   right-now-in-akvo\trsr-update-count\r\nopenaid-activities   rsr-many-updates\trsr-updates\r\n\r\nThese folders contain style.css & Template.phtml files which need to exist upon deployment of the site.  the 'data.....' files will be created by the Json plugin again, but the others will not.\r\n\r\nWithout these folders & the files the Seeithappen page is broken.\r\n"},"comment":{"url":"https://api.github.com/repos/akvo/akvo-web/issues/comments/75717775","html_url":"https://github.com/akvo/akvo-web/issues/514#issuecomment-75717775","issue_url":"https://api.github.com/repos/akvo/akvo-web/issues/514","id":75717775,"user":{"login":"Lynngre","id":2675262,"avatar_url":"https://avatars.githubusercontent.com/u/2675262?v=3","gravatar_id":"","url":"https://api.github.com/users/Lynngre","html_url":"https://github.com/Lynngre","followers_url":"https://api.github.com/users/Lynngre/followers","following_url":"https://api.github.com/users/Lynngre/following{/other_user}","gists_url":"https://api.github.com/users/Lynngre/gists{/gist_id}","starred_url":"https://api.github.com/users/Lynngre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lynngre/subscriptions","organizations_url":"https://api.github.com/users/Lynngre/orgs","repos_url":"https://api.github.com/users/Lynngre/repos","events_url":"https://api.github.com/users/Lynngre/events{/privacy}","received_events_url":"https://api.github.com/users/Lynngre/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T08:36:42Z","updated_at":"2015-02-24T08:36:42Z","body":"The cache files - style & template files are generated in the DB by creating the slugs.  \r\n\r\nThese should not be 'deployed' as the DB is not deployed.\r\n\r\nReplace the template & style files from the repo which can be found at https://github.com/akvo/akvo-web/tree/develop/code/wp-content/themes/Akvo-responsive/json_data_templates\r\n\r\nWhat we should do is create a script to keep only the latest .data & delete all .data from each folder.\r\n\r\n"}}