{"action":"created","issue":{"url":"https://api.github.com/repos/roundware/roundware-server/issues/209","labels_url":"https://api.github.com/repos/roundware/roundware-server/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/roundware/roundware-server/issues/209/comments","events_url":"https://api.github.com/repos/roundware/roundware-server/issues/209/events","html_url":"https://github.com/roundware/roundware-server/pull/209","id":56320828,"number":209,"title":"Create and document outside-of-repo-code production Django/Roundware settings","user":{"login":"eosrei","id":195061,"avatar_url":"https://avatars.githubusercontent.com/u/195061?v=3","gravatar_id":"","url":"https://api.github.com/users/eosrei","html_url":"https://github.com/eosrei","followers_url":"https://api.github.com/users/eosrei/followers","following_url":"https://api.github.com/users/eosrei/following{/other_user}","gists_url":"https://api.github.com/users/eosrei/gists{/gist_id}","starred_url":"https://api.github.com/users/eosrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eosrei/subscriptions","organizations_url":"https://api.github.com/users/eosrei/orgs","repos_url":"https://api.github.com/users/eosrei/repos","events_url":"https://api.github.com/users/eosrei/events{/privacy}","received_events_url":"https://api.github.com/users/eosrei/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/roundware/roundware-server/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-03T01:30:59Z","updated_at":"2015-02-03T02:32:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/roundware/roundware-server/pulls/209","html_url":"https://github.com/roundware/roundware-server/pull/209","diff_url":"https://github.com/roundware/roundware-server/pull/209.diff","patch_url":"https://github.com/roundware/roundware-server/pull/209.patch"},"body":"Could use a better explanation but this covers it:\r\n\r\n\r\n## Production Settings\r\n\r\nThe production Roundware/Django settings file used by WSGI Apache2 is stored outside of the source code directory in the file `/var/www/roundware/settings/roundware_production.py`. All settings in `/var/www/roundware/source/roundware/settings/common.py` can be overridden there. Do not modify any file within the `/var/www/roundware/source` directory unless you intend to maintain your own fork of Roundware Server.\r\n"},"comment":{"url":"https://api.github.com/repos/roundware/roundware-server/issues/comments/72581533","html_url":"https://github.com/roundware/roundware-server/pull/209#issuecomment-72581533","issue_url":"https://api.github.com/repos/roundware/roundware-server/issues/209","id":72581533,"user":{"login":"eosrei","id":195061,"avatar_url":"https://avatars.githubusercontent.com/u/195061?v=3","gravatar_id":"","url":"https://api.github.com/users/eosrei","html_url":"https://github.com/eosrei","followers_url":"https://api.github.com/users/eosrei/followers","following_url":"https://api.github.com/users/eosrei/following{/other_user}","gists_url":"https://api.github.com/users/eosrei/gists{/gist_id}","starred_url":"https://api.github.com/users/eosrei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eosrei/subscriptions","organizations_url":"https://api.github.com/users/eosrei/orgs","repos_url":"https://api.github.com/users/eosrei/repos","events_url":"https://api.github.com/users/eosrei/events{/privacy}","received_events_url":"https://api.github.com/users/eosrei/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T02:32:13Z","updated_at":"2015-02-03T02:32:13Z","body":"\"Upgrade\" process for existing installs **after** this pull request is merged:\r\n```bash\r\ncd roundware-server\r\n# Assumes unmodified git clone of http://github.com/roundware/roundware-server.git develop branch\r\ngit pull\r\nsudo mkdir /var/www/roundware/settings\r\nsudo cp files/var-www-roundware-settings.py /var/www/roundware/settings/roundware_production.py\r\nsudo chown roundware:roundware /var/www/roundware/settings/roundware_production.py\r\nsudo ./deploy.sh\r\n```"}}