Giter VIP home page Giter VIP logo

buffalo's Introduction

Buffalo Documentation

gobuffalo.io

This is the repository for https://www.gobuffalo.io, the official website of the Buffalo ecosystem.

This documentation contains:

Contributing

Contributing to this documentation site is a great, and easy, way to help make Buffalo better!

Note that this repository is only about Buffalo ecosystem documentation. If you want to contribute to the ecosystem itself, please refer to the concerned repository:

See the contribution guide for more info about how to contribute.

buffalo's People

Contributors

amedeiros avatar arifemre avatar as27 avatar briandowns avatar codyoss avatar dependabot[bot] avatar dmuriel avatar drnic avatar fasmat avatar fooflare avatar gangachris avatar hdm avatar josegonzalez avatar kteb avatar lukasschlueter avatar lumost avatar markbates avatar mclark4386 avatar mohammed90 avatar ntakouris avatar paganotoni avatar philipithomas avatar ruudk avatar saurori avatar schigh avatar sio4 avatar slomek avatar stanislas-m avatar tbasnett avatar wung-s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

buffalo's Issues

Add NewRelic middleware

	nrkey := os.Getenv("NEW_RELIC_LICENSE_KEY")
	if nrkey != "" {
		fmt.Printf("Setting up New Relic %s\n", nrkey)
		config := newrelic.NewConfig("gobuffalo.io", nrkey)
		app, err := newrelic.NewApplication(config)
		if err != nil {
			log.Fatal(err)
		}
		a.Use(func(next buffalo.Handler) buffalo.Handler {
			return func(c buffalo.Context) error {
				tx := app.StartTransaction(c.Request().URL.String(), c.Response(), c.Request())
				defer tx.End()
				return next(c)
			}
		})
	}

Go Get Errors

Helping a friend/coworker setup for Gophercon tasks. The Gopheracademy gcon documentation says, Start server by typing: buffalo dev

I tracked buffalo to this repo. If I go get this repo, I'm presented with the following errors:

Raff-WBM:gcon raff$ go get github.com/markbates/buffalo
# github.com/markbates/buffalo/render
../../markbates/buffalo/render/render.go:38: undefined: inflect.Helpers
../../markbates/buffalo/render/template.go:32: undefined: "github.com/pkg/errors".WithMessage
../../markbates/buffalo/render/template.go:32: undefined: "github.com/pkg/errors".WithStack
../../markbates/buffalo/render/template.go:38: undefined: "github.com/pkg/errors".WithStack
../../markbates/buffalo/render/template.go:78: undefined: "github.com/pkg/errors".WithStack
../../markbates/buffalo/render/template.go:88: undefined: "github.com/pkg/errors".WithStack

Using go get github.com/markbates/buffalo/... doesn't fair any better and presents even more errors.

If I had to guess as to what the issue is, I think your inclusion of "github.com/pkg/errors" is being confused with golang.org/pkg/errors

Perhaps an alias would fix it? Or am I entirely wrong?

Thanks!

p.s. Yes, I did a go get github.com/pkg/errors to make sure it's on my system and findable within my gopath.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.