{"action":"created","issue":{"url":"https://api.github.com/repos/GeoNode/geonode/issues/4024","repository_url":"https://api.github.com/repos/GeoNode/geonode","labels_url":"https://api.github.com/repos/GeoNode/geonode/issues/4024/labels{/name}","comments_url":"https://api.github.com/repos/GeoNode/geonode/issues/4024/comments","events_url":"https://api.github.com/repos/GeoNode/geonode/issues/4024/events","html_url":"https://github.com/GeoNode/geonode/pull/4024","id":373827280,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1NjY0Mjgx","number":4024,"title":"SPCgeonode","user":{"login":"olivierdalang","id":1894106,"node_id":"MDQ6VXNlcjE4OTQxMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/1894106?v=4","gravatar_id":"","url":"https://api.github.com/users/olivierdalang","html_url":"https://github.com/olivierdalang","followers_url":"https://api.github.com/users/olivierdalang/followers","following_url":"https://api.github.com/users/olivierdalang/following{/other_user}","gists_url":"https://api.github.com/users/olivierdalang/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierdalang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierdalang/subscriptions","organizations_url":"https://api.github.com/users/olivierdalang/orgs","repos_url":"https://api.github.com/users/olivierdalang/repos","events_url":"https://api.github.com/users/olivierdalang/events{/privacy}","received_events_url":"https://api.github.com/users/olivierdalang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-25T08:21:03Z","updated_at":"2018-11-06T22:59:56Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/GeoNode/geonode/pulls/4024","html_url":"https://github.com/GeoNode/geonode/pull/4024","diff_url":"https://github.com/GeoNode/geonode/pull/4024.diff","patch_url":"https://github.com/GeoNode/geonode/pull/4024.patch"},"body":"Hi,\r\n\r\nAs discussed during last PSC meeting and on the ML, and following the GNIP #3707, here's my proposition for upstreaming SPCgeonode.\r\n\r\nDuring the meeting, we agreed on having this in a dedicated repo in under the Geonode organisation (following the Geonode-project approach that SPCgeonode had so far). But it's actually much more practical to have it in the main repo, so that the setup is also usable when developing Geonode.\r\n\r\nEverything is nicely contained under scripts/spcgeonode, so that it would not interfere with the current setup if we merge this into master. The only thing outside of that folder is the config for CI, so I used CircleCI instead of Travis to avoid any interferences.\r\n\r\n### Quickstart :\r\n\r\n```\r\ngit clone https://github.com/olivierdalang/geonode.git -b spcgeonode\r\ncd scripts/spcgeonode\r\ndocker-compose up -d\r\n```\r\nCheck `scripts/spcgeonode/README.md` for more details...\r\n\r\n### Features :\r\n\r\n- super simple to use (`docker-compose up -d` and everything should work out of the box)\r\n- no dark magic (no docker in docker, all logging to stdout...)\r\n- documented (in scripts/spcgeonode/README.md, this would be moved to the doc at some point)\r\n- roadmapped (in scripts/spcgeonode/ROADMAP.md, this would be moved to github issues at some point)\r\n- [CI testing](https://circleci.com/gh/olivierdalang/workflows/geonode/tree/spcgeonode) (image building and test suite - some tests are failing see below)\r\n- docker hub integration (images auto-build)\r\n- release process documented and working, including autobuilds on dockerhub (publishing new releases takes 30 seconds)\r\n- documented migration path from 2.4 (albeit not super nice)\r\n- usable for production :\r\n    - let's encrypt out of the box (if setting https host)\r\n    - backups to amazon s3 using rclone (could easily be extended to support other providers)\r\n    - reasonable security out of the box (passwords are reset, no guarantee though)\r\n- also usable for geonode developement (`docker-compose up -d --build django postgres nginx geoserver`)\r\n    - all containers output correctly to stdout (easy to debug)\r\n    - auto-reload works (very convenient for developing)\r\n\r\nAs already said, I think this may be a solution to our current problem with releases (where it seems it's too much work for what we currently can provide to make new releases for Ubuntu, let alone other systems such as Windows).\r\n\r\n### Suggested action plan :\r\n\r\n- review and merge the PR\r\n- let it live for a while and let you guys test it out\r\n- fix the failing tests (I didn't investigate too much in the failures so far, I guess it comes from some tests that hardcode some settings such as geoserver url):\r\n   - core apps tests: 5 failing out of 100 tests\r\n   - internal apps tests: 2 failing out of 93 tests\r\n   - integration tests: 1 failing out of 32 tests\r\n- setup autobuild for the official repo\r\n- move README.md to the docs\r\n- move ROADMAP.md to github issues\r\n- advertise it as a new (beta) official installation method (including in the quickstart section on the homepage)\r\n- in the long term, deal with docker setup proliferation (keep only one set of docker-compose, one official dockerfile for each service, etc...)\r\n\r\nLet me know what you think.\r\n\r\nCheers,\r\n\r\nOlivier\r\n"},"comment":{"url":"https://api.github.com/repos/GeoNode/geonode/issues/comments/436440645","html_url":"https://github.com/GeoNode/geonode/pull/4024#issuecomment-436440645","issue_url":"https://api.github.com/repos/GeoNode/geonode/issues/4024","id":436440645,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjQ0MDY0NQ==","user":{"login":"capooti","id":148380,"node_id":"MDQ6VXNlcjE0ODM4MA==","avatar_url":"https://avatars0.githubusercontent.com/u/148380?v=4","gravatar_id":"","url":"https://api.github.com/users/capooti","html_url":"https://github.com/capooti","followers_url":"https://api.github.com/users/capooti/followers","following_url":"https://api.github.com/users/capooti/following{/other_user}","gists_url":"https://api.github.com/users/capooti/gists{/gist_id}","starred_url":"https://api.github.com/users/capooti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capooti/subscriptions","organizations_url":"https://api.github.com/users/capooti/orgs","repos_url":"https://api.github.com/users/capooti/repos","events_url":"https://api.github.com/users/capooti/events{/privacy}","received_events_url":"https://api.github.com/users/capooti/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T22:59:56Z","updated_at":"2018-11-06T22:59:56Z","author_association":"MEMBER","body":"Thanks @olivierdalang +1 to merge"}}
{"actor":{"display_login":"capooti"}}