Coder Social home page Coder Social logo

Output Log about dispatch-proxy HOT 5 CLOSED

alexkirsz avatar alexkirsz commented on June 28, 2024
Output Log

from dispatch-proxy.

Comments (5)

alexkirsz avatar alexkirsz commented on June 28, 2024

What do you need? I'm thinking of adding --sample (boolean) and --sampleFreq <n> (ms) for setting frequency of speed samples. Maybe also add an option for log frequency?

Right now the --debug option already logs requests, dispatch and server response events.

from dispatch-proxy.

dreamalligator avatar dreamalligator commented on June 28, 2024

That sounds perfect.

  .option('--sample','sample network loads (tx/rx)', Boolean)
  .option('--sampleFreq','set how often (in ms) to sample the networks (defaults to 1000)', Number)

I'm pretty new to coffee, could you comment on the next step to run a development version of Dispatch?

  • npm install -g coffee-script
  • npm install grunt
  • npm install grunt-contrib-watch
  • npm install grunt-contrib-coffee
  • npm install grunt-contrib-clean
  • grunt
  • grunt demon

from dispatch-proxy.

alexkirsz avatar alexkirsz commented on June 28, 2024

$ git clone https://github.com/Morhaus/dispatch-proxy.git dispatch-proxy
$ cd dispatch-proxy
$ npm install
$ npm install -g grunt-cli (installs grunt)
$ grunt demon (automatically builds and watches dispatch-proxy for changes)
$ sudo npm link -g (replaces dispatch with bin/dispatch)

That should be it.

from dispatch-proxy.

dreamalligator avatar dreamalligator commented on June 28, 2024

Awesome. sudo npm link worked, thanks!

from dispatch-proxy.

rlindsberg avatar rlindsberg commented on June 28, 2024

Issue solved.

from dispatch-proxy.

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.