npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

eploy2

v1.0.5

Published

Easy deployment for any programming languages and also transfer the files to a server instantly with a single command

Downloads

56

Readme

(E)asy De(ploy)ment

Eploy2 makes your deployment easy, forget the worries about the deployment because its all about just a single command.

Eploy2 makes your files transferring to a server easy at a single command.

Eploy2 supports all types of Server side programming languages like Javascript, Typescript, Node, Ruby On Rails, Python, PHP, C#, .Net etc ..,

Getting started

Install via npm

$ npm install -g eploy2

Usage in Server Side

Starting an application is as easy as:

$ eploy2 run

Works on Linux (LTS) & macOS (LTS). All Node.js versions are supported starting Node.js 8.X.

For now, we are not supporting to Windows. We are working on it.

Starting an application & kept alive forever:

$ eploy2 start daemon

Eploy2 application is now daemonized and kept alive forever as a background service.

Available Commands

$ eploy2 stop         # Stop a eploy service if it is running.
$ eploy2 start        # start a eploy service if it was stopped.
$ eploy2 restart      # Restart a eploy service.
$ eploy2 delete       # Delete a eploy service from your machine permanently.

That's it. You are all set to go. Hope you enjoy the appication. It takes only less than minute.

Let's go to the client side setup.

Usage in Client Side

First you have to create a 'eploy.config.js' in a root folder.

module.exports = {
    apps: [{
        name: '<your-application-name>',
        main : '<main-file>' //optional
    }],
    cloud_config: {
        staging : {
            host: '<your-public-ip-address-or-domain-url-name>',
            repo: '<your-git-repo-path>', // Clone type must be ssh, not supported in https.
            ref: '<your-git-branch-name-with-ref>',  // eg. origin/master
            application_path: '<your-application-path-in-a-server>',
            pre_launch_script: '<launch-script>' // It will execute after update the latest files from the git. eg. 'npm i'
        },
        production : {
            host: '<your-public-ip-address-or-domain-url-name>',
            repo: '<your-git-repo-path>', // Clone type must be ssh, not supported in https.
            ref: '<your-git-branch-name-with-ref>',  // eg. origin/master
            application_path: '<your-application-path-in-a-server>',
            pre_launch_script: '<launch-script>',  //It will execute after update the latest files from the git. eg. 'npm i'
        }
    },
    transfer_config : {
        staging : {
            host: '<your-public-ip-address-or-domain-url-name>',
            user : '<your-server-username>', // eg. ubuntu or root
            source_path : '<source-path-transfer-from>', // which is folder or file path you want to transfer to server
            destination_path : '<destination-path-transfer-to>',
            pre_transfer_script : '<launch-script>', // It will execute before transfer the files to the server. eg. 'ng build or gatsby build'
        },
        production : {
           host: '<your-public-ip-address-or-domain-url-name>',
            user : '<your-server-username>', // eg. ubuntu or root
            source_path : '<source-path-transfer-from>', // which is folder or file path you want to transfer to server
            destination_path : '<destination-path-transfer-to>',
            pre_transfer_script : '<launch-script>', // It will execute before transfer the files to the server. eg. 'ng build or gatsby build'
        }
    }
}

The above file explains the configuration of eploy service. In cloud_config or transfer_config must having 'staging' or 'production' attribute.

Available Client Side Commands

Deployment

Deploy your application is as easy as:

$ eploy2 deploy

#output of above command
? Choose the deploy type › - Use arrow-keys. Return to submit.
❯   Staging
    Production

Within a single command & select your environment, your application will deploy smoothly in a server instantly. It will shows the server logs also in your terminal.

Files Transfer to server

Transfer your files to the server is as easy as:

$ eploy2 transfer

#output of above command
? Choose the transfer type › - Use arrow-keys. Return to submit.
❯   Staging
    Production

Within a single command & select your environment, your files will transfer quickly to the specific path in a server instantly. It will shows the server logs also in your terminal.

Further information about eploy2

Eploy Help

$ eploy2 -h

Eploy Help

Thanks in advance and we hope that you like eploy2!! 🙏 🙏 🙏 🙏 🙏

CHANGELOG

CHANGELOG

License

MIT