https://github.com/initdc/qb.ubtu.ru
The source code for web hosting, deploying on heroku
https://github.com/initdc/qb.ubtu.ru
Last synced: 11 months ago
JSON representation
The source code for web hosting, deploying on heroku
- Host: GitHub
- URL: https://github.com/initdc/qb.ubtu.ru
- Owner: initdc
- Created: 2020-07-24T02:35:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-15T02:47:03.000Z (over 5 years ago)
- Last Synced: 2025-01-20T23:48:31.876Z (about 1 year ago)
- Language: Go
- Homepage: https://qb.ubtu.ru
- Size: 288 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-getting-started
A barebones Go app, which can easily be deployed to Heroku.
This application supports the [Getting Started with Go on Heroku](https://devcenter.heroku.com/articles/getting-started-with-go) article - check it out.
## Running Locally
Make sure you have [Go](http://golang.org/doc/install) version 1.12 or newer and the [Heroku Toolbelt](https://toolbelt.heroku.com/) installed.
```sh
$ git clone https://github.com/heroku/go-getting-started.git
$ cd go-getting-started
$ go build -o bin/go-getting-started -v . # or `go build -o bin/go-getting-started.exe -v .` in git bash
github.com/mattn/go-colorable
gopkg.in/bluesuncorp/validator.v5
golang.org/x/net/context
github.com/heroku/x/hmetrics
github.com/gin-gonic/gin/render
github.com/manucorporat/sse
github.com/heroku/x/hmetrics/onload
github.com/gin-gonic/gin/binding
github.com/gin-gonic/gin
github.com/heroku/go-getting-started
$ heroku local
```
Your app should now be running on [localhost:5000](http://localhost:5000/).
## Deploying to Heroku
```sh
$ heroku create
$ git push heroku master
$ heroku open
```
or
[](https://heroku.com/deploy)
## Documentation
For more information about using Go on Heroku, see these Dev Center articles:
- [Go on Heroku](https://devcenter.heroku.com/categories/go)