Go
You can deploy a Go application on Simplifyd in just a few steps.
A sample app for this quick start is deployed at https://go-gin.simplifyd.app.
The example application uses the popular Go Gin web framework to demonstrate deploying a Go web application on Simplifyd. Other popular Go web frameworks should work exactly the same.
- Fork the sample project on Github at https://github.com/simplifyd-examples/golang-gin-web-server
- Create a new project on Simplifyd:
- specify a name for the project
- set the region to
nga-west-1
- Leave the environment variables blank since we won't be using environment variables in this example
- Create a new app in the project created in the step above:
- specify a name for the app
- set app type to be
golang
- specify the Git provider (this could be one of the following:
[Github Bitbucket Gitlab]
) where you forked the repo to - specify the repo URL. This should be the URL of the forked repo and should be available in the specified Git account from the step above. If you are on the CLI, when we deployed this example our repo URL was: simplifyd-examples/golang-gin-web-server.
- Specify the Git branch. In our case that was "master".
- Deploy the app:
- specify a runner. For this example a
nano
runner would do just fine
- specify a runner. For this example a
That’s it! Your Go web service will be live on your Simplifyd vanity URL as soon as the build finishes. You can always specify a custom domain/URL. Check the "adding a custom domain" section for how to do that.