Giter VIP home page Giter VIP logo

nodegitproj-pm's Introduction

NodeGitProj

Manage the Deployment lifecycle of Git Stored Node.js App.

Installation

Basic Perl-based Install

# TODO: Perl cpan/cpanp(cpanplus)/cpanm(cpanminus) based install
# Module is not yet in cpan - cannot install it from CPAN (!)
cpanm JSON Mail::Sendmail Date::ISO8601
cd /tmp
git clone https://github.com/ohollmen/NodeGitProj-PM.git
cd NodeGitProj-PM
# Perl Makefile.PL install
perl Makefile.PL
make
sudo make install

Debian install

# Install deps
sudo apt-get install libjson-perl libmail-sendmail-perl libdate-iso8601-perl
# Git Clone, cd, Run Perl Makefile.PL install process

MacOSX/Brew Install

# Use cpanminus to install
sudo brew install cpanminus
# Install dependencies
sudo cpanm JSON Mail::Sendmail Date::ISO8601
# Clone from Git (see above) ...
# Run Perl install process
perl Makefile.PL; make; sudo make install

Quick Usage

Main command line use cases for module

# Prep for tagged release
# - Checks validity / availability of package.json "version" for a Git Tag
# - Creates tag and pushes it to default remote
# Default is a dryrun, use --exec to actually run
nodegit relprep --exec

# Deploy tag at the application server
# - Fetches all available tags
# - Checkout version tag passed as --version
# - Restart App Server
# - Inform project contributors / participants by email
nodegit deploy --version 0.5.2-rc.1.8
# Impatiently deploy master
nodegit deploy --version master

More Extensive documentation

See POD for more extensive documentation (perldoc NodeGitProj)

# Quick review / no-hassle https clone
git clone https://github.com/ohollmen/NodeGitProj-PM.git
cd NodeGitProj-PM
# Read some docs
# ... for CL Utility
perldoc ./bin/nodegit
# ... for API (less likely)
perldoc ./NodeGitProj.pm

nodegitproj-pm's People

Contributors

ohollmen avatar ilguzin avatar wmoll avatar

Watchers

James Cloos 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.