Coder Social home page Coder Social logo

roche-emmanuel / nervproj Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 98.25 MB

NervProj is a "Project management" layer that can be used to manage the workflow on other sub-projects

License: MIT License

Batchfile 0.26% Python 96.15% Shell 1.05% CMake 0.11% C++ 1.02% Smarty 1.41%

nervproj's Introduction

nervproj

NervProj is a "Project management" layer that can be used to manage the workflow on other sub-projects

Initial setup:

First checkout the repository:

# For project members:
$ git clone [email protected]:roche-emmanuel/nervproj.git NervProj

# For non-project members:
$ git clone https://github.com/roche-emmanuel/nervproj.git NervProj

Next setup the CLI:

$ cd NervProj
$ ./cli.sh admin install cli

Available commands

Checking out repositories

  • To checkout a given project repository into a specific path:
$ nvp -p nvh git clone D:/Projects/NervHome
  • Then we can init the project with a default git setup:
$ nvp -p nvh admin init
  • To checkout an arbitrary repository given by path into a specific path :
$ nvp git clone -u [email protected]:roche-emmanuel/sift.git D:/Projects/sift

Building libraries

  • Force rebuilding a given library:
$ nvp build libs llvm --rebuild
  • Building multiple libraries at once:
$ nvp build libs libiconv,zlib,libxml2
  • Previewing the sources for a given library without actually building/rebuilding it:
$ nvp build libs libxml2 --preview

Sending rocketchat messages:

  • Example of sending a rocketchat message to a given server:
$ nvp rchat "Hello from nvp command"
  • Required rocketchat configuration elements (in the global nervproj config file, inside the rocketchat entry):
    • base_url: URL of the server, for instance "http://192.168.0.20:3000"
    • default_channel: Default channel where the message should go, for instance "global-admin"
    • user_id: User Id from the rocketchat personnal access token generated for from an existing account (should have 2FA disabled)
    • token: Token from the rocketchat personnal access token generated for from an existing account (should have 2FA disabled)

Sending emails:

  • Example of sending an email with a configured SMTP server:
$ nvp email "This is the email body, can use <b>html code</b>" -t "This is the email title"
  • Required configuration elements are specified in the email config entry:
  "email": {
    "smtp_server": "192.168.0.20:587",
    "default_username": "[email protected]",
    "default_password": "xxxxxxxxx",
    "default_to_addrs": "[email protected]",
    "default_from_addr": "[email protected]"
  }

nervproj's People

Contributors

roche-emmanuel avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.