{"action":"opened","issue":{"url":"https://api.github.com/repos/ts2/ts2/issues/44","labels_url":"https://api.github.com/repos/ts2/ts2/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/ts2/ts2/issues/44/comments","events_url":"https://api.github.com/repos/ts2/ts2/issues/44/events","html_url":"https://github.com/ts2/ts2/issues/44","id":108567736,"number":44,"title":"TS2 Server","user":{"login":"pedromorgan","id":123932,"avatar_url":"https://avatars.githubusercontent.com/u/123932?v=3","gravatar_id":"","url":"https://api.github.com/users/pedromorgan","html_url":"https://github.com/pedromorgan","followers_url":"https://api.github.com/users/pedromorgan/followers","following_url":"https://api.github.com/users/pedromorgan/following{/other_user}","gists_url":"https://api.github.com/users/pedromorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/pedromorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedromorgan/subscriptions","organizations_url":"https://api.github.com/users/pedromorgan/orgs","repos_url":"https://api.github.com/users/pedromorgan/repos","events_url":"https://api.github.com/users/pedromorgan/events{/privacy}","received_events_url":"https://api.github.com/users/pedromorgan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-27T23:34:30Z","updated_at":"2015-09-27T23:34:30Z","closed_at":null,"body":"So here are some thoughts about the scenario for comment and ......\r\n\r\nthe idea is to create a server so end users can \r\n- share data.. independant of TS2 release..\r\n- download load latest\r\n- create and update..\r\n- generally share stuff between people...\r\n- We already got the ts2-data repos https://github.com/ts2/ts2-data\r\nOne of the stategic steps in `develop` is to convert to json format as this is basic serialisation, lightweight and webfriendly..\r\n\r\n\r\n\r\n## The vision...\r\n- To be able to download sims from an online server to desktop\r\n- To be able to create and modify sims and upload.. to online server\r\n- Encourage sharing with online list for fun and experiment..\r\n\r\n### What Lang for server ?\r\nWell we could round the houses on this one (golang for me),  but as ts2 is currently a python3 platform, I think we stick to python3.\r\n\r\n### Where is is hosted ?\r\nWell what we all want is free hosting and cloud until popular and a problem ;-))))))))))\r\n\r\nso recommended is openshift.. as were using it for the docs already..\r\nhttp://docs-ts2.rhcloud.com/\r\n\r\nMaybe we create the data subdomain\r\nhttp://data-ts2.rhcloud.com/\r\n\r\n## Where will the data be stored ?\r\nUmm.. here's the idea.. \r\nAs their blobs atmo, then we just save to either file, git or a db\r\n\r\n### file\r\nThis would mean writing to a file local. eg\r\nfoo-sim.2015.12.25T11:59:59.json\r\nfoo-sim.2015.12.25T09:12:59.json\r\nfoo-sim.latest.json = foo-sim.2015.12.25T11:59:59.json\r\n\r\n### Git\r\nSame caper as above but saving to git also\r\nsee  https://github.com/ts2/ts2-data\r\nBut maybe with branches..\r\nAlso hasten to add svn.github.com/ts2/ts2-data = trunk oh!\r\n\r\n### Database\r\nSaving to db would initially mean a  `json.text`  col and some meta data\r\n\r\nBut later we can have fun, see mapping #34 \r\n\r\nMapping limits us to postgres+postgis  \r\n- mysql is too slow atmo on some stuff and a general pain in butt after years of tears\r\n\r\nAqquiring Data\r\n=====================\r\nThis would be a simple get request of sims..\r\nthen clicking a button to download..\r\n\r\nThere would be no authentication..\r\nand sims would be downloadable and playable immedeate\r\n\r\nSubmitting Data\r\n=====================\r\nThis is where the fun starts....... !! ;-)\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}