Git Product home page Git Product logo

Comments (8)

bketelsen avatar bketelsen commented on August 26, 2024

how could we keep the existing "buffalo dev" workflow?

from athens.

bketelsen avatar bketelsen commented on August 26, 2024

we can experiment and see how much "buffalo dev" is tied to the layout of the project.

from athens.

arschles avatar arschles commented on August 26, 2024

My original thought was to put a full buffalo application into each of cmd/proxy and cmd/registry, so you would run buffalo dev inside of either directory. This fits nicely into the standard buffalo tooling without any modifications.

The only thing that I'm sure of with buffalo dev itself is that it needs the .buffalo.dev.yml to run, and I think it needs a main. I know you and @markbates figured some things out and I'm not caught up on that.

I'd just advocate for keeping plain buffalo dev without any additional setup (besides DB setup) on the machine. In other words, I'd like to keep the workflow this:

# do this once
$ git clone [email protected]:gomods/athens.git
$ cd athens
$ docker-compose up -d
$ buffalo db migrate up

# now do this as many times as you want
$ buffalo dev

(note - our README describes almost all of this flow, except for the buffalo db migrate up part)

from athens.

markbates avatar markbates commented on August 26, 2024

I agree with Aaron. Also, you could make a grift task in Athens that did all the docker, migration, seed, etc… then no matter happens the docks say run buffalo t setup the first tome. :)

from athens.

arschles avatar arschles commented on August 26, 2024

ooooh, the grift for all the migration etc... is an awesome idea. thanks @markbates!

from athens.

arschles avatar arschles commented on August 26, 2024

I'll take this one

from athens.

bketelsen avatar bketelsen commented on August 26, 2024

See #87, close together

from athens.

michalpristas avatar michalpristas commented on August 26, 2024

#91 fixes this, closing

from athens.

Related Issues (20)

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.