Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shellbear/dokku-go-example
Easily deploy your Go applications with Dokku.
https://github.com/shellbear/dokku-go-example
api deployment dokku echo go gorm postgresql web
Last synced: about 2 months ago
JSON representation
Easily deploy your Go applications with Dokku.
- Host: GitHub
- URL: https://github.com/shellbear/dokku-go-example
- Owner: shellbear
- License: mit
- Created: 2021-06-28T10:17:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-28T12:34:51.000Z (over 3 years ago)
- Last Synced: 2024-06-21T20:07:25.834Z (7 months ago)
- Topics: api, deployment, dokku, echo, go, gorm, postgresql, web
- Language: Go
- Homepage: https://shellbear.me/blog/go-dokku-deployment
- Size: 22.5 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dokku-go-example
Easily deploy your Go applications with Dokku.
Features:
- Deploy on your own server
- Auto deployment
- HTTPS**Check the full step by step article: https://shellbear.me/blog/go-dokku-deployment**
## 💻 Getting started
The example API requires a PostgreSQL database.
Specify the database connection URL using the `DATABASE_URL` environment variable:
```shell
export DATABASE_URL=postgresql://user:secret@localhost
go run .
```## Built with
- [Gorm](https://gorm.io)
- [Echo](https://echo.labstack.com)