Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ro_rmt

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ro_rmt

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status

Code Climate

RoDeploy

License

MIT License

Why and who should use this gem

please see following bash output this is run ping google.com in my pc

PING google.com (203.208.46.200) 56(84) bytes of data.
64 bytes from 0.docs.google.com (203.208.46.200): icmp_seq=1 ttl=55 time=224 ms
64 bytes from 0.docs.google.com (203.208.46.200): icmp_seq=2 ttl=55 time=780 ms
64 bytes from 0.docs.google.com (203.208.46.200): icmp_seq=3 ttl=55 time=864 ms
64 bytes from 0.docs.google.com (203.208.46.200): icmp_seq=4 ttl=55 time=891 ms
^C
--- google.com ping statistics ---
5 packets transmitted, 4 received, 20% packet loss, time 4000ms
rtt min/avg/max/mdev = 224.364/690.234/891.314/272.077 ms

This is run ping google.com in my vps

64 bytes from hg-in-f138.1e100.net (74.125.128.138): icmp_req=1 ttl=50 time=2.74 ms
64 bytes from hg-in-f138.1e100.net (74.125.128.138): icmp_req=2 ttl=50 time=3.34 ms
64 bytes from hg-in-f138.1e100.net (74.125.128.138): icmp_req=3 ttl=50 time=6.07 ms
64 bytes from hg-in-f138.1e100.net (74.125.128.138): icmp_req=4 ttl=50 time=5.43 ms
64 bytes from hg-in-f138.1e100.net (74.125.128.138): icmp_req=5 ttl=50 time=2.61 ms

so if you are in Mainland China like me, this gem will help you save 780/2.74 = 284.67times time than you deploy a rails app to remotehost, wtf!

Getting Started

see wiki

About RoDeploy

ro_deploy is base on capistrano and sshkit, i just make it can deploy rails app to root@localhost. so if you wanna more function, please see sshkit and capistrano.

I design ro_deploy in three points

  1. deploy app to root@localhost for debugging
  2. deploy app to root@remotehost(please set remotehost in you /etc/hosts)
  3. and complete write ssh commands with ruby, like ro_deploy do, you can inherited ::RoDeployBase to build you own cmd, for details information, please support me a job, I am to find a job.

RoadMap

  • install mysql without prompt
  • nginx config
  • retry pid_file_exist?, make sure it can return a true
  • add initd restart initd service
  • pass all spec
  • add initd cmd(add unicorn start stop restart)
  • add before after hook in ro_commands
  • customize remote_root
  • make js and css in public/assets can be read
  • add config generator.
  • make a process manager sort by ram/cpu percent
  • add ::RoCell::Remote spec
  • pass all spec(nginx unicorn remote rbenv ...)
  • make a bin? through check all paths in PATHS
  • add initd.sh on startup
  • deploy ro_commands_rails
  • add ro_commands/initd
  • run bundle install in remote, and show detail like capistrano

RoZeus

  • make ro_zeus with drb, which function like zeus
  • ro_zeus.run_ro
  • ro_zeus.run_rake
  • with listen gem, restart ro_zeus when specific files(defined in ro_deploy/config) change or sm actions done, specific files is all rb files in project, sm actions default is bundle install,bundle update.
  • make remote_action to_run_misc can work with ro_zeus

make a damu maker

  • use videojs
  • play, pause and jump shortcuts
  • layout like bilibili
  • send a damu like bilibili(use canva)
  • delete exist damu
  • change damu occur time and lifecycle
  • autosave damu change like google drive
  • deploy this
  • close autosave function in web app

misc

  • get error output when bash crashed like capistrano

  • save stage value to redis

  • judge current env is travis-ci throught add before script RO_CURRENT_ENV=ci

  • write a rake task "ci_init" with ro and change rake defaults

FAQs

Package last updated on 26 Feb 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc