trending-machine

command module
v0.0.0-...-26eea9c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2016 License: MIT Imports: 10 Imported by: 0

README

Explore Github's trending page in the past.

This project is intended to be an example of the spider package.

Is has a list of pre-defined languages defined in the settings.json. It could be done for all languages but it will put too much load on the Github's servers.

Installation

You need Go, Node.js, NPM, Gulp and Bower installed on your computer. For the database you'll need MongoDB.

$ go get -u github.com/celrenheit/trending-machine

To install the dependencies of the web app you need to run:

$ cd $GOPATH/src/github.com/celrenheit/trending-machine/web
$ npm i && bower i && gulp build --prod

Usage

$ cd $GOPATH/src/github.com/celrenheit/trending-machine
$ go run *.go

This will launch a web server. Open a new tab/window in your browser pointing to http://localhost:3000.

Developpement

Open two terminal windows. In the first one run the following:

$ cd $GOPATH/src/github.com/celrenheit/trending-machine
$ go run *.go

And in the second run:

$ cd $GOPATH/src/github.com/celrenheit/trending-machine/web
$ gulp

Inspiration

This project is inspired by https://github.com/josephyzhou/github-trending.

License

MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL