{"action":"created","issue":{"url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/259","labels_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/259/comments","events_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/259/events","html_url":"https://github.com/glittergallery/GlitterGallery/pull/259","id":60856202,"number":259,"title":"Run GlitterGallery in a container","user":{"login":"Alwahsh","id":3496597,"avatar_url":"https://avatars.githubusercontent.com/u/3496597?v=3","gravatar_id":"","url":"https://api.github.com/users/Alwahsh","html_url":"https://github.com/Alwahsh","followers_url":"https://api.github.com/users/Alwahsh/followers","following_url":"https://api.github.com/users/Alwahsh/following{/other_user}","gists_url":"https://api.github.com/users/Alwahsh/gists{/gist_id}","starred_url":"https://api.github.com/users/Alwahsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alwahsh/subscriptions","organizations_url":"https://api.github.com/users/Alwahsh/orgs","repos_url":"https://api.github.com/users/Alwahsh/repos","events_url":"https://api.github.com/users/Alwahsh/events{/privacy}","received_events_url":"https://api.github.com/users/Alwahsh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-03-12T17:13:56Z","updated_at":"2015-03-17T13:15:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/glittergallery/GlitterGallery/pulls/259","html_url":"https://github.com/glittergallery/GlitterGallery/pull/259","diff_url":"https://github.com/glittergallery/GlitterGallery/pull/259.diff","patch_url":"https://github.com/glittergallery/GlitterGallery/pull/259.patch"},"body":"I tried to learn about Docker and managed to run GlitterGallery in a container for development through this docker file.\r\n\r\nInstructions:\r\n-[install docker](https://docs.docker.com/installation/).\r\n-cd to GG directory\r\n-run `docker build -t glittergallery .`\r\n-run `docker run -d -v $PWD:/srv -p 3000:3000 glittergallery`\r\n-navigate to \"localhost:3000\" and enjoy :)\r\n\r\nTo make this run in production, I think we need to setup another container with mysql and connect them. Also we might want to use Passenger.\r\n\r\nI just want to make sure that I'm working on the right track for handling #239 ."},"comment":{"url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/comments/82339966","html_url":"https://github.com/glittergallery/GlitterGallery/pull/259#issuecomment-82339966","issue_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/259","id":82339966,"user":{"login":"EmilyDirsh","id":926286,"avatar_url":"https://avatars.githubusercontent.com/u/926286?v=3","gravatar_id":"","url":"https://api.github.com/users/EmilyDirsh","html_url":"https://github.com/EmilyDirsh","followers_url":"https://api.github.com/users/EmilyDirsh/followers","following_url":"https://api.github.com/users/EmilyDirsh/following{/other_user}","gists_url":"https://api.github.com/users/EmilyDirsh/gists{/gist_id}","starred_url":"https://api.github.com/users/EmilyDirsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmilyDirsh/subscriptions","organizations_url":"https://api.github.com/users/EmilyDirsh/orgs","repos_url":"https://api.github.com/users/EmilyDirsh/repos","events_url":"https://api.github.com/users/EmilyDirsh/events{/privacy}","received_events_url":"https://api.github.com/users/EmilyDirsh/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T13:15:18Z","updated_at":"2015-03-17T13:15:18Z","body":"@Alwahsh that's a good point, but I still think it's best to keep it in it's own repo. If we want to include it in this repo at some point, then we can do that through a [submodule](http://www.git-scm.com/book/en/v2/Git-Tools-Submodules). I'll make it a todo for myself to create the repo."}}