{"action":"created","issue":{"url":"https://api.github.com/repos/Softcatala/web-2015/issues/45","labels_url":"https://api.github.com/repos/Softcatala/web-2015/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/Softcatala/web-2015/issues/45/comments","events_url":"https://api.github.com/repos/Softcatala/web-2015/issues/45/events","html_url":"https://github.com/Softcatala/web-2015/issues/45","id":105003892,"number":45,"title":"[Entorns] Script d'inicialització de website","user":{"login":"PauGNU","id":506393,"avatar_url":"https://avatars.githubusercontent.com/u/506393?v=3","gravatar_id":"","url":"https://api.github.com/users/PauGNU","html_url":"https://github.com/PauGNU","followers_url":"https://api.github.com/users/PauGNU/followers","following_url":"https://api.github.com/users/PauGNU/following{/other_user}","gists_url":"https://api.github.com/users/PauGNU/gists{/gist_id}","starred_url":"https://api.github.com/users/PauGNU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PauGNU/subscriptions","organizations_url":"https://api.github.com/users/PauGNU/orgs","repos_url":"https://api.github.com/users/PauGNU/repos","events_url":"https://api.github.com/users/PauGNU/events{/privacy}","received_events_url":"https://api.github.com/users/PauGNU/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Softcatala/web-2015/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"PauGNU","id":506393,"avatar_url":"https://avatars.githubusercontent.com/u/506393?v=3","gravatar_id":"","url":"https://api.github.com/users/PauGNU","html_url":"https://github.com/PauGNU","followers_url":"https://api.github.com/users/PauGNU/followers","following_url":"https://api.github.com/users/PauGNU/following{/other_user}","gists_url":"https://api.github.com/users/PauGNU/gists{/gist_id}","starred_url":"https://api.github.com/users/PauGNU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PauGNU/subscriptions","organizations_url":"https://api.github.com/users/PauGNU/orgs","repos_url":"https://api.github.com/users/PauGNU/repos","events_url":"https://api.github.com/users/PauGNU/events{/privacy}","received_events_url":"https://api.github.com/users/PauGNU/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Softcatala/web-2015/milestones/2","html_url":"https://github.com/Softcatala/web-2015/milestones/Sprint%202","labels_url":"https://api.github.com/repos/Softcatala/web-2015/milestones/2/labels","id":1298061,"number":2,"title":"Sprint 2","description":"","creator":{"login":"PauGNU","id":506393,"avatar_url":"https://avatars.githubusercontent.com/u/506393?v=3","gravatar_id":"","url":"https://api.github.com/users/PauGNU","html_url":"https://github.com/PauGNU","followers_url":"https://api.github.com/users/PauGNU/followers","following_url":"https://api.github.com/users/PauGNU/following{/other_user}","gists_url":"https://api.github.com/users/PauGNU/gists{/gist_id}","starred_url":"https://api.github.com/users/PauGNU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PauGNU/subscriptions","organizations_url":"https://api.github.com/users/PauGNU/orgs","repos_url":"https://api.github.com/users/PauGNU/repos","events_url":"https://api.github.com/users/PauGNU/events{/privacy}","received_events_url":"https://api.github.com/users/PauGNU/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-09-09T17:02:07Z","updated_at":"2015-09-09T17:02:21Z","due_on":"2015-09-26T22:00:00Z","closed_at":null},"comments":18,"created_at":"2015-09-05T04:49:55Z","updated_at":"2015-10-20T04:16:45Z","closed_at":null,"body":"Hem estat parlant de la necessitat de crear un script d'inicialització de projecte que s'ocupe d'inicialitzar els directoris d'instal·lació, baixar el codi, etc. per poder inicialitzar el codi de la pàgina web en qualsevol entorn/servidor.\r\n\r\nL'script faria:\r\n* Baixar i instal·lar l'easyengine (aquest punt és opcional)\r\n* Instal·lar el wordpress mitjançant l'easyengine (opcional, depenent del punt 1)\r\n* Modificar l'estructura de directoris per crear l'estructura definida per al projecte\r\n  * htdocs/wp\r\n  * htdocs/plugins\r\n  * htdocs/themes\r\n  * htdocs/ssi\r\n  * htdocs/uploads\r\n  * conf/wordpress/wp-config.php\r\n* Modificar els fitxers de configuració del WordPress per establir aquesta estructura de directoris.\r\n* Establir els permisos correctes\r\n* Importar BD?\r\n\r\nAlternatives:\r\n* Script bash. Seria la forma més senzilla d'implementar-ho.\r\n* Script python. Semblant a bash\r\n* Utilitzar eines com fabric. En aquest cas caldria vore si és necessari o no (i també veure si fabric s'utilitza per a la inicialització de projectes)."},"comment":{"url":"https://api.github.com/repos/Softcatala/web-2015/issues/comments/149427089","html_url":"https://github.com/Softcatala/web-2015/issues/45#issuecomment-149427089","issue_url":"https://api.github.com/repos/Softcatala/web-2015/issues/45","id":149427089,"user":{"login":"PauGNU","id":506393,"avatar_url":"https://avatars.githubusercontent.com/u/506393?v=3","gravatar_id":"","url":"https://api.github.com/users/PauGNU","html_url":"https://github.com/PauGNU","followers_url":"https://api.github.com/users/PauGNU/followers","following_url":"https://api.github.com/users/PauGNU/following{/other_user}","gists_url":"https://api.github.com/users/PauGNU/gists{/gist_id}","starred_url":"https://api.github.com/users/PauGNU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PauGNU/subscriptions","organizations_url":"https://api.github.com/users/PauGNU/orgs","repos_url":"https://api.github.com/users/PauGNU/repos","events_url":"https://api.github.com/users/PauGNU/events{/privacy}","received_events_url":"https://api.github.com/users/PauGNU/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T04:16:45Z","updated_at":"2015-10-20T04:16:45Z","body":"Hola,\n\nM'ocuparé avui d'aquesta tasca, ja que no la podem deixar esperar més i possiblement siga el més lògic que la comence jo mateix, tenint en compte tot el que hi ha per fer. Documentaré això degudament."}}