{"id":13800076,"url":"https://github.com/victorshinya/go-cloud","last_synced_at":"2025-05-15T02:31:23.807Z","repository":{"id":46122926,"uuid":"193632847","full_name":"victorshinya/go-cloud","owner":"victorshinya","description":"A Golang boilerplate code to test and benchmark cloud platforms.","archived":false,"fork":false,"pushed_at":"2021-11-12T14:52:21.000Z","size":720,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-03T02:23:02.730Z","etag":null,"topics":["go","go-cloud","golang","golang-boilerplate","golang-examples","golang-server"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/victorshinya.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}},"created_at":"2019-06-25T04:10:50.000Z","updated_at":"2023-10-01T23:16:03.000Z","dependencies_parsed_at":"2022-07-26T08:17:04.013Z","dependency_job_id":null,"html_url":"https://github.com/victorshinya/go-cloud","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorshinya%2Fgo-cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorshinya%2Fgo-cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorshinya%2Fgo-cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorshinya%2Fgo-cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorshinya","download_url":"https://codeload.github.com/victorshinya/go-cloud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254262174,"owners_count":22041346,"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":["go","go-cloud","golang","golang-boilerplate","golang-examples","golang-server"],"created_at":"2024-08-04T00:01:08.989Z","updated_at":"2025-05-15T02:31:23.464Z","avatar_url":"https://github.com/victorshinya.png","language":"HTML","funding_links":[],"categories":["Platform"],"sub_categories":[],"readme":"# Go Cloud\n\n[![IBM Cloud Powered](https://img.shields.io/badge/IBM%20Cloud-powered-blue.svg)](https://cloud.ibm.com)\n[![Platform](https://img.shields.io/badge/platform-golang-lightgrey.svg?style=flat)](https://developer.ibm.com/?s=golang/)\n[![Go Report Card](https://goreportcard.com/badge/github.com/victorshinya/go-cloud)](https://goreportcard.com/report/github.com/victorshinya/go-cloud)\n\nA Golang boilerplate code to test and benchmark cloud platforms.\n\n![Architecture Design](doc/source/images/architecture.jpeg)\n\n## Run locally\n\nBefore you run the app, you need to install [Golang](https://golang.org) and quick set up the local environment (your computer). Install [Docker](https://www.docker.com) and [Docker Compose](https://docs.docker.com/compose/) if you want to start using the second option (modular and no \"works on my machine\"). After the installation and set up, you will be able to run the following code:\n\n### Using Golang CLI\n\n```sh\ngo run main.go\n```\n\n### Using Docker (with `docker-compose`)\n\n```sh\ncd deployments\ndocker-compose up\n```\n\n## Deploy the application on IBM Cloud\n\nYou can deploy on IBM Cloud in two different ways: using Go buildpack (using the Golang Runtime) or using Static buildpack (which uses [NGINX](https://www.nginx.com)). By default, the IBM Cloud will use Staticfile for cloud environment (because there is a `Staticfile` at the root of the project). If you want to deploy using Golang, use the flag `-b go_buildpack` or `-f deployments/manifest.yml` (which includes the reference to the Golang buildpack).\n\n### Go Runtime\n\n```sh\nibmcloud cf push -f deployments/manifest.yml\n```\n\n### Staticfile (or NGINX on IBM Cloud)\n\n```sh\nibmcloud cf push\n```\n\n### 1-Click deploy\n\nAlso you can use the 1-click deploy button. It will use the platform's DevOps pipeline to build and deploy the app.\n\nSupport platforms:\n\n- [IBM Cloud](https://cloud.ibm.com/devops/setup/deploy?repository=https://github.com/victorshinya/go-cloud)\n- [Heroku](https://heroku.com/deploy?template=https://github.com/victorshinya/go-cloud/tree/master)\n\n## License\n\nMIT License\n\nCopyright (c) 2020 Victor Shinya\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorshinya%2Fgo-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorshinya%2Fgo-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorshinya%2Fgo-cloud/lists"}