Sample go application using martini microframework
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
templates
vendor/github.com
.gitmodules
.slugignore
.travis.yml
Dockerfile
Gopkg.lock
Gopkg.toml
Procfile
README.md
circle.yml
docker-compose.yml
main.go
scalingo.json

README.md

Sample Application with Go and Martini

Running Locally

First, you need to have a working go environment:

http://golang.org/doc/install

Godep

This go application is using github.com/tools/godeps to manage its dependencies, it is required to install it in order to get the right version of each third-party library.

go get github.com/tools/godeps

Build

godep build

Execute

./sample-go-martini

Deploying on Scalingo

Create an application on https://scalingo.com, then:

git remote add scalingo git@scalingo.com:<name_of_your_app>.git
git push scalingo master

And that's it!

The application is running at this url: https://sample-go-martini.scalingo.io/

Deploy in one click

Deploy to Scalingo

Links

https://golang.org https://github.com/go-martini/martini