Giter VIP home page Giter VIP logo

zeroc0d3lab / ruby-deploy-gcc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zeroc0d3/ruby-deploy-gcc

1.0 3.0 0.0 1.44 MB

Alternative Ruby & Rails Deployment Tools Build With GNU C (GCC)

License: MIT License

Shell 1.67% Ruby 13.75% C 84.59%
gcc ruby deploy nginx assets precompile clobber puma unicorn faye pushr mongodb sidekiq redis memcached gcm google-cloud-messaging zeroc0d3lab zeroc0d3

ruby-deploy-gcc's Introduction

Ruby-Deploy-GCC (RB-Deploy)

Alternative Ruby & Rails Deployment Tools Build With GNU C (GCC)

Deploy Process

Dashboard

  • $VERSION = The Latest Version Stable
  • $WEB_SERVER = PUMA (default)
===============================================================================
  ZeroC0D3 Ruby Deploy :: ver-$VERSION
  (c) 2017-2018 ZeroC0D3 Team
===============================================================================
  ### ENVIRONMENT DEPLOY ###
-------------------------------------------------------------------------------
  # ENVIRONMENT   : staging
  # PATH ROOT     : /home/deploy/zeroc0d3lab.dev
  # RAILS VERSION : 5
  # WEB SERVER    : $WEB_SERVER
-------------------------------------------------------------------------------
  ### NGINX SERVICES ###
-------------------------------------------------------------------------------
  # ./rb_deploy -no              --> Reload NGINX
  # ./rb_deploy -nr              --> Restart NGINX
-------------------------------------------------------------------------------
  ### ASSETS SERVICES ###
-------------------------------------------------------------------------------
  # ./rb_deploy -ac              --> Assets Clobber (Rollback)
  # ./rb_deploy -ap              --> Assets Precompile
-------------------------------------------------------------------------------
  ### RESTART SERVICES ###
-------------------------------------------------------------------------------
  # ./rb_deploy -rf              --> Restart Faye
  # ./rb_deploy -rg              --> Restart Push GCM (Google Cloud Messaging)
  # ./rb_deploy -rm              --> Restart MongoDB
  # ./rb_deploy -rp              --> Restart Pushr
  # ./rb_deploy -rq              --> Restart Sidekiq
  # ./rb_deploy -rs              --> Restart Redis
  # ./rb_deploy -ru              --> Restart $WEB_SERVER
-------------------------------------------------------------------------------
  ### STOP SERVICES ###
-------------------------------------------------------------------------------
  # ./rb_deploy -df              --> Stop Faye
  # ./rb_deploy -dg              --> Stop Push GCM (Google Cloud Messaging)
  # ./rb_deploy -dm              --> Stop MongoDB
  # ./rb_deploy -dp              --> Stop Pushr
  # ./rb_deploy -dq              --> Stop Sidekiq
  # ./rb_deploy -ds              --> Stop Redis
  # ./rb_deploy -du              --> Stop $WEB_SERVER
-------------------------------------------------------------------------------
  ### VIEW LOGS ###
-------------------------------------------------------------------------------
  # ./rb_deploy -l-env           --> View Environment's Log
  # ./rb_deploy -l-gcm           --> View Push GCM Log
  # ./rb_deploy -l-memcached     --> View Memcached Log
  # ./rb_deploy -l-mongodb       --> View MongoDB Log
  # ./rb_deploy -l-pushr         --> View Pushr Log
  # ./rb_deploy -l-redis         --> View Redis Log
  # ./rb_deploy -l-sidekiq       --> View Sidekiq Log
  # ./rb_deploy -l-[$WEB_SERVER] --> View $WEB_SERVER Log
  # ./rb_deploy -la-nginx        --> View NGINX Access Log
  # ./rb_deploy -le-nginx        --> View NGINX Error Log
-------------------------------------------------------------------------------
  ### SERVER ###
-------------------------------------------------------------------------------
  # ./rb_deploy -key             --> Generate Secret Token
  # ./rb_deploy -up              --> Server Up
  # ./rb_deploy -down            --> Server Down
  # ./rb_deploy -deploy / dep    --> Running Deploy
===============================================================================

Documentation

Roadmap

    • Nginx [restart│reload]
    • Assets Precompile
    • Assets Clobber (Cleanup Compiled)
    • MongoDB [restart│stop]
    • Puma [restart│stop]
    • Unicorn [restart│stop]
    • Faye [restart│stop]
    • Pushr [restart│stop]
    • Push GCM (Google Cloud Messaging) [restart│stop]
    • Sidekiq [restart│stop]
    • Redis [restart│stop]
    • Deploy

Changelog

Log history

Version

Latest

License

MIT License

ruby-deploy-gcc's People

Contributors

zeroc0d3 avatar

Stargazers

 avatar

Watchers

 avatar  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.