top
(README.md)
streakers
=========

don't break the chain - commit to open source everyday


## Goals

- Track a user's commit streak
- Remind users if time's running out on their streak
- Watch all major public git hosting services


## Stretch goals

- API
- containerized deployment
- suggest projects to work on
- recommend what to work on next based on favorites
- merit badges
- ask for help on your open source project

## Development

### With Vagrant

`vagrant up`
`vagrant ssh`

`cd streakers`
`goop exec go run server.go`

#### Connecting to local postgres db

`psql -U streaker -h 127.0.0.1 -d streaker_development`

### Without Vagrant

Make sure your `GOPATH` is set. Perhaps [just use one GOPATH](http://mwholt.blogspot.com/2014/02/why-i-use-just-one-gopath.html)

Install dependencies:

- Git, Mercurial
- Install go dependencies:

`go get github.com/nitrous-io/goop`
`goop install`

then

`goop exec go run server.go`

load up [localhost:3000](http://localhost:3000)

If you have your path setup right you can use one of these live reload packages:

Use [Gin](https://github.com/codegangsta/gin) and [Fresh](https://github.com/pilu/fresh)

## Resources

[Go Bootcamp Book](http://www.golangbootcamp.com/book)

[Programming in Go](http://www.golang-book.com/)

[Resources for new Go programmers](http://dave.cheney.net/resources-for-new-go-programmers)

[Go Project Structure For Rubyists](http://gofullstack.com/articles/go-project-structure-for-rubyists.html)

[Effective Go](http://golang.org/doc/effective_go.html)

[Learn X in Y minutes Where X=Go](http://learnxinyminutes.com/docs/go/)

[Go by Example](https://gobyexample.com/)

[Gophercasts](https://gophercasts.io)

Imports 6 package(s) ΒΆ

  1. github.com/gorilla/mux
  2. github.com/jinzhu/gorm
  3. github.com/lib/pq
  4. github.com/codegangsta/negroni
  5. github.com/unrolled/render
  6. github.com/joho/godotenv