{"id":15470804,"url":"https://github.com/choptastic/mgd","last_synced_at":"2025-06-11T15:36:54.463Z","repository":{"id":11101588,"uuid":"13454784","full_name":"choptastic/mgd","owner":"choptastic","description":"(M)inimal (G)it (D)eployment - Quick and dirty git deployment","archived":false,"fork":false,"pushed_at":"2023-11-19T15:17:53.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T13:17:09.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/choptastic.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-09T21:20:39.000Z","updated_at":"2023-11-19T15:17:57.000Z","dependencies_parsed_at":"2022-09-23T18:42:00.788Z","dependency_job_id":null,"html_url":"https://github.com/choptastic/mgd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choptastic%2Fmgd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choptastic%2Fmgd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choptastic%2Fmgd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choptastic%2Fmgd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/choptastic","download_url":"https://codeload.github.com/choptastic/mgd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246034276,"owners_count":20712851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T02:06:56.340Z","updated_at":"2025-03-28T12:43:19.726Z","avatar_url":"https://github.com/choptastic.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MGD - Minimal Git Deploy\n\nMGD is an ultra-simple git deployable system.\n\nWhile there are plenty of other *better* git deployment solutions out there\n(seriously, just search github for \"git-deploy\" if you want something that\ndoesn't completely suck), sometimes you just want something quick and dirty.\n\nEnter MGD, a git deployment system intentionally acronymed after a certain\nbrand of beer. It's quick, it's dirty, it'll get the job done, but it's not\nexactly something you want to tell anyone about\n\n## Installing MGD on Server\n\nOn your server:\n```bash\ngit clone https://github.com/choptastic/mgd\ncd mgd\nsudo make install\n```\n\n## Setting up a repository\n\n### On your server:\n\n* For Public Repos\n\n  ```bash\n  mgd https://github.com/yourname/projectname.git\n  ```\n\n* For Private Repos\n\n  ```bash\n  mgd git@github.com:yourname/projectname.git\n  ```\n\n### Once The above is finished\n\n* The app itself will be placed into apps/projectname\n* The bare git repo will be placed into git/projectname.git\n\nIf you need some extra scripts (like enabling hot code reloading in Erlang, or\nif you use something *less enlightened*, you can restart the server or whatever\nyou need to do), then just edit the contents of\n`git/projectname.git/hooks/post-receive`.\n\n\n## On your workstation\n\nYou don't need to think too hard about this one, since the above step tells you\nalmost exactly what to do when the installation process completes.\n\n```bash\ngit remote add live \u003cusername\u003e@\u003cservername\u003e/path/to/git/projectname.git\ngit push live master\n```\n\n## That's it\n\nYep, it doesn't do anything else. It just sets up the server to receive deployments and push them.\n\n## About\n\nQuestions? Post an issue.\n\nAuthor: [Jesse Gumm](http://jessegumm.com) ([@jessegumm](http://twitter.com/jessegumm))\n\nLicense: MIT LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoptastic%2Fmgd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchoptastic%2Fmgd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoptastic%2Fmgd/lists"}