{"id":20072604,"url":"https://github.com/moi-solutions/db-fork","last_synced_at":"2026-05-08T03:09:20.060Z","repository":{"id":88495267,"uuid":"98442365","full_name":"moi-solutions/db-fork","owner":"moi-solutions","description":"Script to automate the creation of a database based on a template in Postgres","archived":false,"fork":false,"pushed_at":"2018-01-10T16:06:29.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-02T12:19:27.158Z","etag":null,"topics":["bash","postgres"],"latest_commit_sha":null,"homepage":null,"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/moi-solutions.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":"2017-07-26T16:11:55.000Z","updated_at":"2017-07-26T16:36:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"5606c78a-6e91-46ba-86bc-811b68bef4f4","html_url":"https://github.com/moi-solutions/db-fork","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/moi-solutions/db-fork","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moi-solutions%2Fdb-fork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moi-solutions%2Fdb-fork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moi-solutions%2Fdb-fork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moi-solutions%2Fdb-fork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moi-solutions","download_url":"https://codeload.github.com/moi-solutions/db-fork/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moi-solutions%2Fdb-fork/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32764795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","postgres"],"created_at":"2024-11-13T14:41:18.015Z","updated_at":"2026-05-08T03:09:20.028Z","avatar_url":"https://github.com/moi-solutions.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# db-fork\nScript to automate the creation of a database based on a template in Postgres.\n\n\u003e Only works if postgres does not have a password.\n\n## Environment variables\n\n    POSTGRES_BIN_PATH // /Applications/Postgres.app/Contents/Versions/9.6/bin/\n    POSTGRES_BIN_NAME // createdb\n    POSTGRES_DATABASE_TEMPLATE_NAME // development\n    POSTGRES_DATABASE_HOST // localhost\n    POSTGRES_DATABASE_USERNAME // postgres\n\n## Remote call (using default variable)\n\n    $ wget -qO- https://raw.githubusercontent.com/moi-solutions/db-fork/1.1/createdb.sh | bash\n\n## Hook (Optional)\n\nThis hook call before command on **git checkout**.\n\n\u003e Call this command on root path from local repository.\n\n    cd .git/hooks/ \u0026\u0026 wget -O post-checkout https://git.io/v7s7X \u0026\u0026 chmod +x post-checkout \u0026\u0026 cd ../../\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoi-solutions%2Fdb-fork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoi-solutions%2Fdb-fork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoi-solutions%2Fdb-fork/lists"}