Giter Club home page Giter Club logo

Comments (3)

mauriceLC92 avatar mauriceLC92 commented on August 23, 2024 1

Perfect, thanks for the extra tips! Will shout if I have any questions

from core.

mauriceLC92 avatar mauriceLC92 commented on August 23, 2024

Hey @dstpierre I am keen to take this task on. Could you please assign it to me and I will try make a start this weekend?

from core.

dstpierre avatar dstpierre commented on August 23, 2024

Thanks @mauriceLC92 highly appreciated. Here's a couple of tips since you will need to modify this project core and the cli

The cli import the core project, to make this work you'll need to replace the package in the cli to say you want to use your local version:

  1. Clone both projects side-by-side, ex: ~/src/staticbackend/ have the core and cli there.
  2. In the cli go.mod add replace github.com/staticbackendhq/core => ../core

From there you should be able to make changes in the core to create the log middleware and the changes to config and build the cli. Not optimal, still trying to figure out the best workflow for this.

I'm using make build to build the cli and from there you will have a binary called backend

$ ./backend server --tail-log

For example testing this new flag.

Do not hesitate if you have any questions.
`

from core.

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.