{"action":"created","comment":{"url":"https://api.github.com/repos/jekkos/opensourcepos/pulls/comments/90226851","pull_request_review_id":10748045,"id":90226851,"diff_hunk":"@@ -3,7 +3,7 @@ CI_ENV=\"production\"\n ENCRYPTION_KEY=\"\"\n \n #Database Settings\n-DB_HOSTNAME=\"localhost\"\n-DB_USERNAME=\"\"\n-DB_PASSWORD=\"\"\n-DB_DATABASE=\"\"\n\\ No newline at end of file\n+MYSQL_HOST_NAME=\"localhost\"","path":"application/config/.env.example","position":null,"original_position":9,"commit_id":"9099013e8f73fba87f8e1b216cd5fd91a00d6286","original_commit_id":"9099013e8f73fba87f8e1b216cd5fd91a00d6286","user":{"login":"deepshah","id":1011181,"avatar_url":"https://avatars.githubusercontent.com/u/1011181?v=3","gravatar_id":"","url":"https://api.github.com/users/deepshah","html_url":"https://github.com/deepshah","followers_url":"https://api.github.com/users/deepshah/followers","following_url":"https://api.github.com/users/deepshah/following{/other_user}","gists_url":"https://api.github.com/users/deepshah/gists{/gist_id}","starred_url":"https://api.github.com/users/deepshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepshah/subscriptions","organizations_url":"https://api.github.com/users/deepshah/orgs","repos_url":"https://api.github.com/users/deepshah/repos","events_url":"https://api.github.com/users/deepshah/events{/privacy}","received_events_url":"https://api.github.com/users/deepshah/received_events","type":"User","site_admin":false},"body":"Sorry not PHP variables, but constants. \r\nWe do not keep any settings under ENV vars, we define all environment related settings as constants. Like you mentioned earlier, encryption key stays in config.php as it is now.","created_at":"2016-11-30T12:59:11Z","updated_at":"2016-11-30T12:59:11Z","html_url":"https://github.com/jekkos/opensourcepos/pull/979#discussion_r90226851","pull_request_url":"https://api.github.com/repos/jekkos/opensourcepos/pulls/979","_links":{"self":{"href":"https://api.github.com/repos/jekkos/opensourcepos/pulls/comments/90226851"},"html":{"href":"https://github.com/jekkos/opensourcepos/pull/979#discussion_r90226851"},"pull_request":{"href":"https://api.github.com/repos/jekkos/opensourcepos/pulls/979"}}},"pull_request":{"url":"https://api.github.com/repos/jekkos/opensourcepos/pulls/979","id":94211668,"html_url":"https://github.com/jekkos/opensourcepos/pull/979","diff_url":"https://github.com/jekkos/opensourcepos/pull/979.diff","patch_url":"https://github.com/jekkos/opensourcepos/pull/979.patch","issue_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/979","number":979,"state":"open","locked":false,"title":"Implemented dotenv used for different configurations for different environments","user":{"login":"deepshah","id":1011181,"avatar_url":"https://avatars.githubusercontent.com/u/1011181?v=3","gravatar_id":"","url":"https://api.github.com/users/deepshah","html_url":"https://github.com/deepshah","followers_url":"https://api.github.com/users/deepshah/followers","following_url":"https://api.github.com/users/deepshah/following{/other_user}","gists_url":"https://api.github.com/users/deepshah/gists{/gist_id}","starred_url":"https://api.github.com/users/deepshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepshah/subscriptions","organizations_url":"https://api.github.com/users/deepshah/orgs","repos_url":"https://api.github.com/users/deepshah/repos","events_url":"https://api.github.com/users/deepshah/events{/privacy}","received_events_url":"https://api.github.com/users/deepshah/received_events","type":"User","site_admin":false},"body":"Sample file: .env.example is stored in application/config\r\nCopy it to application/config/.env\r\n\r\nAdd custom settings as required in the .env file.\r\n","created_at":"2016-11-17T17:20:45Z","updated_at":"2016-11-30T12:59:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab8c480bd3c91a991659657d3826a512c10d03aa","assignee":{"login":"jekkos","id":576234,"avatar_url":"https://avatars.githubusercontent.com/u/576234?v=3","gravatar_id":"","url":"https://api.github.com/users/jekkos","html_url":"https://github.com/jekkos","followers_url":"https://api.github.com/users/jekkos/followers","following_url":"https://api.github.com/users/jekkos/following{/other_user}","gists_url":"https://api.github.com/users/jekkos/gists{/gist_id}","starred_url":"https://api.github.com/users/jekkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekkos/subscriptions","organizations_url":"https://api.github.com/users/jekkos/orgs","repos_url":"https://api.github.com/users/jekkos/repos","events_url":"https://api.github.com/users/jekkos/events{/privacy}","received_events_url":"https://api.github.com/users/jekkos/received_events","type":"User","site_admin":false},"assignees":[{"login":"jekkos","id":576234,"avatar_url":"https://avatars.githubusercontent.com/u/576234?v=3","gravatar_id":"","url":"https://api.github.com/users/jekkos","html_url":"https://github.com/jekkos","followers_url":"https://api.github.com/users/jekkos/followers","following_url":"https://api.github.com/users/jekkos/following{/other_user}","gists_url":"https://api.github.com/users/jekkos/gists{/gist_id}","starred_url":"https://api.github.com/users/jekkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekkos/subscriptions","organizations_url":"https://api.github.com/users/jekkos/orgs","repos_url":"https://api.github.com/users/jekkos/repos","events_url":"https://api.github.com/users/jekkos/events{/privacy}","received_events_url":"https://api.github.com/users/jekkos/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/jekkos/opensourcepos/milestones/7","html_url":"https://github.com/jekkos/opensourcepos/milestones/3.1.0","labels_url":"https://api.github.com/repos/jekkos/opensourcepos/milestones/7/labels","id":1647713,"number":7,"title":"3.1.0","description":"","creator":{"login":"daN4cat","id":636048,"avatar_url":"https://avatars.githubusercontent.com/u/636048?v=3","gravatar_id":"","url":"https://api.github.com/users/daN4cat","html_url":"https://github.com/daN4cat","followers_url":"https://api.github.com/users/daN4cat/followers","following_url":"https://api.github.com/users/daN4cat/following{/other_user}","gists_url":"https://api.github.com/users/daN4cat/gists{/gist_id}","starred_url":"https://api.github.com/users/daN4cat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daN4cat/subscriptions","organizations_url":"https://api.github.com/users/daN4cat/orgs","repos_url":"https://api.github.com/users/daN4cat/repos","events_url":"https://api.github.com/users/daN4cat/events{/privacy}","received_events_url":"https://api.github.com/users/daN4cat/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":5,"state":"open","created_at":"2016-03-16T11:41:39Z","updated_at":"2016-11-30T07:59:46Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/jekkos/opensourcepos/pulls/979/commits","review_comments_url":"https://api.github.com/repos/jekkos/opensourcepos/pulls/979/comments","review_comment_url":"https://api.github.com/repos/jekkos/opensourcepos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/979/comments","statuses_url":"https://api.github.com/repos/jekkos/opensourcepos/statuses/9099013e8f73fba87f8e1b216cd5fd91a00d6286","head":{"label":"deepshah:implement_dotenv","ref":"implement_dotenv","sha":"9099013e8f73fba87f8e1b216cd5fd91a00d6286","user":{"login":"deepshah","id":1011181,"avatar_url":"https://avatars.githubusercontent.com/u/1011181?v=3","gravatar_id":"","url":"https://api.github.com/users/deepshah","html_url":"https://github.com/deepshah","followers_url":"https://api.github.com/users/deepshah/followers","following_url":"https://api.github.com/users/deepshah/following{/other_user}","gists_url":"https://api.github.com/users/deepshah/gists{/gist_id}","starred_url":"https://api.github.com/users/deepshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepshah/subscriptions","organizations_url":"https://api.github.com/users/deepshah/orgs","repos_url":"https://api.github.com/users/deepshah/repos","events_url":"https://api.github.com/users/deepshah/events{/privacy}","received_events_url":"https://api.github.com/users/deepshah/received_events","type":"User","site_admin":false},"repo":{"id":72754442,"name":"opensourcepos","full_name":"deepshah/opensourcepos","owner":{"login":"deepshah","id":1011181,"avatar_url":"https://avatars.githubusercontent.com/u/1011181?v=3","gravatar_id":"","url":"https://api.github.com/users/deepshah","html_url":"https://github.com/deepshah","followers_url":"https://api.github.com/users/deepshah/followers","following_url":"https://api.github.com/users/deepshah/following{/other_user}","gists_url":"https://api.github.com/users/deepshah/gists{/gist_id}","starred_url":"https://api.github.com/users/deepshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepshah/subscriptions","organizations_url":"https://api.github.com/users/deepshah/orgs","repos_url":"https://api.github.com/users/deepshah/repos","events_url":"https://api.github.com/users/deepshah/events{/privacy}","received_events_url":"https://api.github.com/users/deepshah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deepshah/opensourcepos","description":"Open Source Point of Sale is a web based point of sale system written in the PHP language. It uses MySQL as the data storage back-end and has a simple user interface.","fork":true,"url":"https://api.github.com/repos/deepshah/opensourcepos","forks_url":"https://api.github.com/repos/deepshah/opensourcepos/forks","keys_url":"https://api.github.com/repos/deepshah/opensourcepos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deepshah/opensourcepos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deepshah/opensourcepos/teams","hooks_url":"https://api.github.com/repos/deepshah/opensourcepos/hooks","issue_events_url":"https://api.github.com/repos/deepshah/opensourcepos/issues/events{/number}","events_url":"https://api.github.com/repos/deepshah/opensourcepos/events","assignees_url":"https://api.github.com/repos/deepshah/opensourcepos/assignees{/user}","branches_url":"https://api.github.com/repos/deepshah/opensourcepos/branches{/branch}","tags_url":"https://api.github.com/repos/deepshah/opensourcepos/tags","blobs_url":"https://api.github.com/repos/deepshah/opensourcepos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deepshah/opensourcepos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deepshah/opensourcepos/git/refs{/sha}","trees_url":"https://api.github.com/repos/deepshah/opensourcepos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deepshah/opensourcepos/statuses/{sha}","languages_url":"https://api.github.com/repos/deepshah/opensourcepos/languages","stargazers_url":"https://api.github.com/repos/deepshah/opensourcepos/stargazers","contributors_url":"https://api.github.com/repos/deepshah/opensourcepos/contributors","subscribers_url":"https://api.github.com/repos/deepshah/opensourcepos/subscribers","subscription_url":"https://api.github.com/repos/deepshah/opensourcepos/subscription","commits_url":"https://api.github.com/repos/deepshah/opensourcepos/commits{/sha}","git_commits_url":"https://api.github.com/repos/deepshah/opensourcepos/git/commits{/sha}","comments_url":"https://api.github.com/repos/deepshah/opensourcepos/comments{/number}","issue_comment_url":"https://api.github.com/repos/deepshah/opensourcepos/issues/comments{/number}","contents_url":"https://api.github.com/repos/deepshah/opensourcepos/contents/{+path}","compare_url":"https://api.github.com/repos/deepshah/opensourcepos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deepshah/opensourcepos/merges","archive_url":"https://api.github.com/repos/deepshah/opensourcepos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deepshah/opensourcepos/downloads","issues_url":"https://api.github.com/repos/deepshah/opensourcepos/issues{/number}","pulls_url":"https://api.github.com/repos/deepshah/opensourcepos/pulls{/number}","milestones_url":"https://api.github.com/repos/deepshah/opensourcepos/milestones{/number}","notifications_url":"https://api.github.com/repos/deepshah/opensourcepos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deepshah/opensourcepos/labels{/name}","releases_url":"https://api.github.com/repos/deepshah/opensourcepos/releases{/id}","deployments_url":"https://api.github.com/repos/deepshah/opensourcepos/deployments","created_at":"2016-11-03T14:36:49Z","updated_at":"2016-11-03T14:36:51Z","pushed_at":"2016-11-28T07:39:56Z","git_url":"git://github.com/deepshah/opensourcepos.git","ssh_url":"git@github.com:deepshah/opensourcepos.git","clone_url":"https://github.com/deepshah/opensourcepos.git","svn_url":"https://github.com/deepshah/opensourcepos","homepage":null,"size":37405,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jekkos:master","ref":"master","sha":"311225a126ed4e5d8477ff73c984259e9dfe2706","user":{"login":"jekkos","id":576234,"avatar_url":"https://avatars.githubusercontent.com/u/576234?v=3","gravatar_id":"","url":"https://api.github.com/users/jekkos","html_url":"https://github.com/jekkos","followers_url":"https://api.github.com/users/jekkos/followers","following_url":"https://api.github.com/users/jekkos/following{/other_user}","gists_url":"https://api.github.com/users/jekkos/gists{/gist_id}","starred_url":"https://api.github.com/users/jekkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekkos/subscriptions","organizations_url":"https://api.github.com/users/jekkos/orgs","repos_url":"https://api.github.com/users/jekkos/repos","events_url":"https://api.github.com/users/jekkos/events{/privacy}","received_events_url":"https://api.github.com/users/jekkos/received_events","type":"User","site_admin":false},"repo":{"id":14724954,"name":"opensourcepos","full_name":"jekkos/opensourcepos","owner":{"login":"jekkos","id":576234,"avatar_url":"https://avatars.githubusercontent.com/u/576234?v=3","gravatar_id":"","url":"https://api.github.com/users/jekkos","html_url":"https://github.com/jekkos","followers_url":"https://api.github.com/users/jekkos/followers","following_url":"https://api.github.com/users/jekkos/following{/other_user}","gists_url":"https://api.github.com/users/jekkos/gists{/gist_id}","starred_url":"https://api.github.com/users/jekkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekkos/subscriptions","organizations_url":"https://api.github.com/users/jekkos/orgs","repos_url":"https://api.github.com/users/jekkos/repos","events_url":"https://api.github.com/users/jekkos/events{/privacy}","received_events_url":"https://api.github.com/users/jekkos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jekkos/opensourcepos","description":"Open Source Point of Sale is a web based point of sale system written in the PHP language. It uses MySQL as the data storage back-end and has a simple user interface.","fork":false,"url":"https://api.github.com/repos/jekkos/opensourcepos","forks_url":"https://api.github.com/repos/jekkos/opensourcepos/forks","keys_url":"https://api.github.com/repos/jekkos/opensourcepos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jekkos/opensourcepos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jekkos/opensourcepos/teams","hooks_url":"https://api.github.com/repos/jekkos/opensourcepos/hooks","issue_events_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/events{/number}","events_url":"https://api.github.com/repos/jekkos/opensourcepos/events","assignees_url":"https://api.github.com/repos/jekkos/opensourcepos/assignees{/user}","branches_url":"https://api.github.com/repos/jekkos/opensourcepos/branches{/branch}","tags_url":"https://api.github.com/repos/jekkos/opensourcepos/tags","blobs_url":"https://api.github.com/repos/jekkos/opensourcepos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jekkos/opensourcepos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jekkos/opensourcepos/git/refs{/sha}","trees_url":"https://api.github.com/repos/jekkos/opensourcepos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jekkos/opensourcepos/statuses/{sha}","languages_url":"https://api.github.com/repos/jekkos/opensourcepos/languages","stargazers_url":"https://api.github.com/repos/jekkos/opensourcepos/stargazers","contributors_url":"https://api.github.com/repos/jekkos/opensourcepos/contributors","subscribers_url":"https://api.github.com/repos/jekkos/opensourcepos/subscribers","subscription_url":"https://api.github.com/repos/jekkos/opensourcepos/subscription","commits_url":"https://api.github.com/repos/jekkos/opensourcepos/commits{/sha}","git_commits_url":"https://api.github.com/repos/jekkos/opensourcepos/git/commits{/sha}","comments_url":"https://api.github.com/repos/jekkos/opensourcepos/comments{/number}","issue_comment_url":"https://api.github.com/repos/jekkos/opensourcepos/issues/comments{/number}","contents_url":"https://api.github.com/repos/jekkos/opensourcepos/contents/{+path}","compare_url":"https://api.github.com/repos/jekkos/opensourcepos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jekkos/opensourcepos/merges","archive_url":"https://api.github.com/repos/jekkos/opensourcepos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jekkos/opensourcepos/downloads","issues_url":"https://api.github.com/repos/jekkos/opensourcepos/issues{/number}","pulls_url":"https://api.github.com/repos/jekkos/opensourcepos/pulls{/number}","milestones_url":"https://api.github.com/repos/jekkos/opensourcepos/milestones{/number}","notifications_url":"https://api.github.com/repos/jekkos/opensourcepos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jekkos/opensourcepos/labels{/name}","releases_url":"https://api.github.com/repos/jekkos/opensourcepos/releases{/id}","deployments_url":"https://api.github.com/repos/jekkos/opensourcepos/deployments","created_at":"2013-11-26T18:09:05Z","updated_at":"2016-11-29T07:50:21Z","pushed_at":"2016-11-30T03:48:31Z","git_url":"git://github.com/jekkos/opensourcepos.git","ssh_url":"git@github.com:jekkos/opensourcepos.git","clone_url":"https://github.com/jekkos/opensourcepos.git","svn_url":"https://github.com/jekkos/opensourcepos","homepage":null,"size":39072,"stargazers_count":415,"watchers_count":415,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":354,"mirror_url":null,"open_issues_count":126,"forks":354,"open_issues":126,"watchers":415,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jekkos/opensourcepos/pulls/979"},"html":{"href":"https://github.com/jekkos/opensourcepos/pull/979"},"issue":{"href":"https://api.github.com/repos/jekkos/opensourcepos/issues/979"},"comments":{"href":"https://api.github.com/repos/jekkos/opensourcepos/issues/979/comments"},"review_comments":{"href":"https://api.github.com/repos/jekkos/opensourcepos/pulls/979/comments"},"review_comment":{"href":"https://api.github.com/repos/jekkos/opensourcepos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jekkos/opensourcepos/pulls/979/commits"},"statuses":{"href":"https://api.github.com/repos/jekkos/opensourcepos/statuses/9099013e8f73fba87f8e1b216cd5fd91a00d6286"}}}}
{"actor":{"display_login":"deepshah"}}