Skip to content

sbinakhlaq/gitometer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitometer

What it does

Shows data from GitHub repositories, stored locally in a Postgresql database

How to run

Needs a DB with the schema provided in db.sql

Then needs the following environment vars set:

  • DBHOST, e.g. localhost
  • DBPORT, e.g 5432
  • DBUSER, the pgsql username
  • DBPASS, if empty use ""
  • DBNAME, the db name
  • GITOMETER_GITHUB_ACCESS_TOKEN: a GitHub personal access token

Run

  • go get github.com/sbinakhlaq/gitometer...
  • go get github.com/google/go-github/github
  • go get github.com/jinzhu/now
  • go get golang.org/x/oauth2
  • go get github.com/lib/pq

Then from client/ run yarn and then yarn start (it's a create-react-app app)

From server/ run watcher or run the Go backend in any other way you prefer.

By default it runs the client on port 3000, and the server on port 8000.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors