Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Easy deployment for any programming languages and also transfer the files to a server instantly with a single command
Eploy2 supports all types of Server side programming languages like Javascript, Typescript, Node, Ruby On Rails, Python, PHP, C#, .Net etc ..,
$ npm install -g eploy2
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.
$ 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.
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.
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.
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.
Thanks in advance and we hope that you like eploy2!! 🙏 🙏 🙏 🙏 🙏
1.0.1
FAQs
Easy deployment for any programming languages and also transfer the files to a server instantly with a single command
The npm package eploy2 receives a total of 5 weekly downloads. As such, eploy2 popularity was classified as not popular.
We found that eploy2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.