{"id":20217737,"url":"https://github.com/pforret/gandi_deploy","last_synced_at":"2025-04-10T15:44:13.744Z","repository":{"id":144772181,"uuid":"250794480","full_name":"pforret/gandi_deploy","owner":"pforret","description":"bash script to work easily with gandi.net paas git deployment (bash)","archived":false,"fork":false,"pushed_at":"2021-02-06T13:10:09.000Z","size":617,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T13:36:10.079Z","etag":null,"topics":["bash","deployment","developer-tools","gandi","git","hosting"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pforret.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-28T12:53:31.000Z","updated_at":"2021-07-20T01:14:05.000Z","dependencies_parsed_at":"2023-04-26T00:02:09.977Z","dependency_job_id":null,"html_url":"https://github.com/pforret/gandi_deploy","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fgandi_deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fgandi_deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fgandi_deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fgandi_deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pforret","download_url":"https://codeload.github.com/pforret/gandi_deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248243500,"owners_count":21071054,"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":["bash","deployment","developer-tools","gandi","git","hosting"],"created_at":"2024-11-14T06:35:25.865Z","updated_at":"2025-04-10T15:44:13.733Z","avatar_url":"https://github.com/pforret.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub tag](https://img.shields.io/github/v/tag/pforret/gandi_deploy)\n![Shellcheck CI](https://github.com/pforret/gandi_deploy/workflows/Shellcheck%20CI/badge.svg)\n![Bash CI](https://github.com/pforret/gandi_deploy/workflows/Bash%20CI/badge.svg)\n\n# gandi_deploy\n\n![Gandi Deploy Logo](assets/gandi_deploy.jpg)\n* script to work easily with gandi.net paas git deployment (bash)\n\n## Installation\n    \n### prerequisites\n\n* make sure [Gandi CLI](https://cli.gandi.net/) is installed correctly\n\n        # test with\n        gandi account info\n\n### easy install\n\n* With [basher](https://github.com/basherpm/basher) package manager\n\n        basher install pforret/gandi-deploy\n\n### manual install\n* clone this repository somewhere on your machine\n\n\t`git clone https://github.com/pforret/gandi_deploy.git`\n\n* from any of your Gandi git-managed project, add a symbolic link to gdeploy.sh\n\n\t`ln -s /path/to/gandi_deploy/gdeploy.sh .`\n\n### in any 'deploy with git' www.example.com folder\n\n* run gdeploy.sh init\n\n\t`./gdeploy.sh init`\n\n* to preview your site on your local server\n\n\t`./gdeploy.sh serve` (on port 8000)\n\t\n\t`./gdeploy.sh rnd` (on a random port between 8000 and 8099)\n\n* to publish your site, run this to commit, push and deploy\n\n\t`./gdeploy.sh all`\n\n## Usage \n\n```\n# gdeploy 1.3.0\n# author: Peter Forret \u003cpeter@forret.com\u003e\n# website: https://github.com/pforret/gandi_deploy\n\u003e usage: gdeploy [init|commit|push|deploy|all|login|serve|domains] (target)\ninit        : initialize the Gandi Paas settings\nall [remote]: commit, push and deploy this website\ncommit      : git commit all local changes\npush [rem]  : git push to Gandi git server\npull [rem]  : git pull from Gandi git server\ndeploy [rem]: ssh deploy from git to live website\nlogin       : do ssh login to the Gandi host for this website\nserve       : run local devl website on localhost:8000\nrnd         : run local devl website on random port localhost:8000-8099\nconsoles    : get 'gandi paas console ...' command for every domain\ndomains     : get all hosted Gandi sites\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fgandi_deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpforret%2Fgandi_deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fgandi_deploy/lists"}