{"action":"created","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/775","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/775/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/775/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/775/events","html_url":"https://github.com/snipe/snipe-it/issues/775","id":72040187,"number":775,"title":"Documentation suggestions","user":{"login":"goetzk","id":8732490,"avatar_url":"https://avatars.githubusercontent.com/u/8732490?v=3","gravatar_id":"","url":"https://api.github.com/users/goetzk","html_url":"https://github.com/goetzk","followers_url":"https://api.github.com/users/goetzk/followers","following_url":"https://api.github.com/users/goetzk/following{/other_user}","gists_url":"https://api.github.com/users/goetzk/gists{/gist_id}","starred_url":"https://api.github.com/users/goetzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goetzk/subscriptions","organizations_url":"https://api.github.com/users/goetzk/orgs","repos_url":"https://api.github.com/users/goetzk/repos","events_url":"https://api.github.com/users/goetzk/events{/privacy}","received_events_url":"https://api.github.com/users/goetzk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-30T02:22:45Z","updated_at":"2015-05-01T06:44:03Z","closed_at":"2015-04-30T04:37:45Z","body":"I've just set up snipe and noted a few things down about the setup process which I feel the docs should be expanded to cover. I don't see the documentation in git so I'm assuming its handled separately.\r\n\r\n* Downloading source\r\nhttp://snipeitapp.com/documentation/ nor http://snipeitapp.com/documentation/installing-on-linuxosx/ cover downloading/acquiring the project.\r\n\r\n* Requirements\r\nThere seem to be some requirements missing. I had to install php-pdo, php-mysql (for database access to work correctly) and php-mbstring (for composer).\r\n\r\n\r\n* MySQL as database\r\nI installed on Centos 7 which comes with Mariadb, one of the mysql clones and it seems to be working fine. It might be worth mentioning in the documentation that any of the mysql compatible databases will do but I'll understand if you think it needs more testing.\r\n\r\n* Choice of image library\r\nI installed php's imagagick extension php-pecl-imagick via yum but can't figure out how to use image magic instead of gd. I edited vendor/intervention/image/src/config/config.php but it doesn't seem to have been enough. Could the docs be expanded to cover that choice? Is there a command that needs to be run after?\r\n\r\n* Composer\r\nInstalling composer locally is mentioned but not installing it system wide. if 2.2 could be updated to include the install command that would be really handy (I used `curl -sS https://getcomposer.org/installer |php -- --install-dir=/usr/local/bin').\r\n\r\nMy git checkout seems to have an out of date composer.lock so i had to use 'composer.phar update' instead of 'composer.phar install'. I'm not sure if install should be replaced with update in the guide but thought I'd mention it here.\r\n\r\n* Permissions\r\nWhen using selinux there can be permissions problems. These two chcons might be handy for others too.\r\n chcon -R --reference=/var/ww/html /srv/snipeit\r\n chcon -R --type httpd_sys_rw_content_t /srv/snipeit\r\n\r\n* Webserver\r\nThe config example for a lamp stack is incomplete, it should include 'Allow From All' / 'Require all granted' in the Directory section as in OS X.\r\n\r\nThanks for your work on this project, hope the feedback above helps."},"comment":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/comments/98058750","html_url":"https://github.com/snipe/snipe-it/issues/775#issuecomment-98058750","issue_url":"https://api.github.com/repos/snipe/snipe-it/issues/775","id":98058750,"user":{"login":"goetzk","id":8732490,"avatar_url":"https://avatars.githubusercontent.com/u/8732490?v=3","gravatar_id":"","url":"https://api.github.com/users/goetzk","html_url":"https://github.com/goetzk","followers_url":"https://api.github.com/users/goetzk/followers","following_url":"https://api.github.com/users/goetzk/following{/other_user}","gists_url":"https://api.github.com/users/goetzk/gists{/gist_id}","starred_url":"https://api.github.com/users/goetzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goetzk/subscriptions","organizations_url":"https://api.github.com/users/goetzk/orgs","repos_url":"https://api.github.com/users/goetzk/repos","events_url":"https://api.github.com/users/goetzk/events{/privacy}","received_events_url":"https://api.github.com/users/goetzk/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T06:44:03Z","updated_at":"2015-05-01T06:44:03Z","body":"On Fri May   1 15:09:42 2015 snipe <notifications@github.com> wrote:\n> Hi @goetzk - thanks for your thoughts. I'm updating the docs now to add\n> the SELinux bits. Would you want to use:\n> \n> `chcon -R --reference=/var/ww/html /srv/snipeit`\n> `chcon -R --type httpd_sys_rw_content_t /srv/snipeit`\n> \n> or would it be better to only change the security contexts on the\n> directories that need to be writable? \n\nThe writable directories need changing, i haven't tried with the rest of the project in its user context - if you like i will test on monday to see if its needed.\n\nThanks, \nkk\n"}}