godep.org

command module
v0.0.0-...-25100ba Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: BSD-3-Clause Imports: 19 Imported by: 0

README

This idea has been superseded by pkg.go.dev.


godep.org Build Status

Docker Pulls Go Report Card

This is an experiment for a next generation godoc.org.
What if we add a lot of features to it, that are missing in its current form.

This project tries to shed light on this topic.

Why not simply improve GoDoc?

The purpose of this project is going beyond what GoDoc is currently capable of. GoDoc uses Redis to store its data. This will not be sufficient for what we're planning to do. Thus, right now, we use Postgres as Database. Additionally we want to be able to experiment. If something works out really well, I'm sure we can work on getting the feature into GoDoc as well.

Development

Clone this repository:

git clone git@github.com:metalmatze/godep.git $GOPATH/src/github.com/metalmatze/godep.org
Start Postgres
docker run -d -e POSTGRES_PASSWORD=postgres -p 5432:5432 --name godep-postgres postgres:10

Now you can run database migrations with migrate which you need to install.

Run the migrations like from the root of this project:

migrate -database postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable -path migrations/ up
Build godep.org

Get all dependencies. We use golang/dep.
Fetch all dependencies with:

dep ensure -v -vendor-only

Build the binary using make:

make install

In case you have $GOPATH/bin in your $PATH you can now simply start the bot by running:

GITHUB_TOKEN=XXX godep.org

You obtain a token for GitHub here: github.com/settings/tokens.

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