Coder Social home page Coder Social logo

rocky installable via PM2 about rocky HOT 4 OPEN

h2non avatar h2non commented on May 26, 2024
rocky installable via PM2

from rocky.

Comments (4)

h2non avatar h2non commented on May 26, 2024

Thanks for the proposal.

Sounds good to me. After a brief reading of the PM2 docs, I believe that I best fit is creating another package specifically for PM2 ecosystem, e.g: pm2-rocky.

I would prefer keeping rocky repository agnostic of any specific non-mandatory tool, but I'm totally open to provide and simplify the ways that people can use it with a specific handy tool.

I'll analyze in detail the PM2 modules and how to build a proper module wrapper for rocky.

from rocky.

Unitech avatar Unitech commented on May 26, 2024

Sure keep rocky as a module name it's perfect!

You can already install rocky like that:

$ pm2 install rocky

Now the problem is how to configure rocky easily, I will have a look on how to point rocky to a specified TOML file

from rocky.

h2non avatar h2non commented on May 26, 2024

Perfect.

Regarding to the TOML configuration, I'll consider supporting two additional ways to load the config:

  • Reading it from stdin
  • Auto discovering the file looking in the cwd and walk up ancester's dirs until find a rocky.toml file.

This should mitigate the CLI overhead. Sounds good for the PM2 integration as well?

from rocky.

h2non avatar h2non commented on May 26, 2024

I'm taking a look to the PM2 docs in order to find a proper way to configure rocky without too much pain.

Since rocky will be mostly consumed from CLI from PM2, I think the proper way to do this is passing it via args config, or even via environment variable like ROCKY_CONFIG, pointing to the config file path.

Do you see another more convenient way to integrate rocky?

from rocky.

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.