Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Commit 340f89f

Browse files
committed
Update version 1.4.2, add service push GCM (Google Cloud Messaging)
1 parent daad88a commit 340f89f

13 files changed

+510
-342
lines changed

CHANGELOG

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## version 1.4.2
2+
====================
3+
* Add service push notification via GCM (Google Cloud Messaging)
4+
* Fixing before and after web service up (restart process)
5+
* Fixing before and after web service down (kill process)
6+
17
## version 1.4.1
28
====================
39
* Fixing debug command from all step running deploy

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 ZeroC0D3 Engineer
3+
Copyright (c) 2017-2018 ZeroC0D3 Engineer
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+63-59
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ruby-deploy-gcc
1+
# Ruby-Deploy-GCC (RB-Deploy)
22
Alternative Ruby & Rails Deployment Tools Build With GNU C (GCC)
33

44
![Deploy Process](https://github.com/zeroc0d3/ruby-deploy-gcc/blob/master/snapshot/deploy_process1.png)
@@ -8,64 +8,67 @@ Alternative Ruby & Rails Deployment Tools Build With GNU C (GCC)
88
* $WEB_SERVER = PUMA (default)
99

1010
```
11-
==========================================================================
12-
ZeroC0D3 Ruby Deploy :: ver-$VERSION
13-
(c) 2017 ZeroC0D3 Team
14-
==========================================================================
15-
### ENVIRONMENT DEPLOY ###
16-
--------------------------------------------------------------------------
17-
# ENVIRONMENT : staging
18-
# PATH ROOT : /home/zeroc0d3/zeroc0d3-deploy
19-
# RAILS VERSION : 5
20-
# WEB SERVER : $WEB_SERVER
21-
--------------------------------------------------------------------------
22-
### NGINX SERVICES ###
23-
--------------------------------------------------------------------------
24-
# ./rb_deploy -no --> Reload NGINX
25-
# ./rb_deploy -nr --> Restart NGINX
26-
--------------------------------------------------------------------------
27-
### ASSETS SERVICES ###
28-
--------------------------------------------------------------------------
29-
# ./rb_deploy -ac --> Assets Clobber (Rollback)
30-
# ./rb_deploy -ap --> Assets Precompile
31-
--------------------------------------------------------------------------
32-
### RESTART SERVICES ###
33-
--------------------------------------------------------------------------
34-
# ./rb_deploy -rf --> Restart Faye
35-
# ./rb_deploy -rm --> Restart MongoDB
36-
# ./rb_deploy -rp --> Restart Pushr
37-
# ./rb_deploy -rq --> Restart Sidekiq
38-
# ./rb_deploy -rs --> Restart Redis
39-
# ./rb_deploy -ru --> Restart $WEB_SERVER
40-
--------------------------------------------------------------------------
41-
### STOP SERVICES ###
42-
--------------------------------------------------------------------------
43-
# ./rb_deploy -df --> Stop Faye
44-
# ./rb_deploy -dm --> Stop MongoDB
45-
# ./rb_deploy -dp --> Stop Pushr
46-
# ./rb_deploy -dq --> Stop Sidekiq
47-
# ./rb_deploy -ds --> Stop Redis
48-
# ./rb_deploy -du --> Stop $WEB_SERVER
49-
--------------------------------------------------------------------------
50-
### VIEW LOGS ###
51-
--------------------------------------------------------------------------
52-
# ./rb_deploy -l-env --> View Environment's Log
53-
# ./rb_deploy -l-memcached --> View Memcached Log
54-
# ./rb_deploy -l-mongodb --> View MongoDB Log
55-
# ./rb_deploy -l-pushr --> View Pushr Log
56-
# ./rb_deploy -l-redis --> View Redis Log
57-
# ./rb_deploy -l-sidekiq --> View Sidekiq Log
58-
# ./rb_deploy -l-puma --> View $WEB_SERVER Log
59-
# ./rb_deploy -la-nginx --> View NGINX Access Log
60-
# ./rb_deploy -le-nginx --> View NGINX Error Log
61-
--------------------------------------------------------------------------
62-
### SERVER ###
63-
--------------------------------------------------------------------------
64-
# ./rb_deploy -key --> Generate Secret Token
65-
# ./rb_deploy -up --> Server Up
66-
# ./rb_deploy -down --> Server Down
67-
# ./rb_deploy -deploy / -dep --> Running Deploy
68-
==========================================================================
11+
===============================================================================
12+
ZeroC0D3 Ruby Deploy :: ver-1.4.2
13+
(c) 2017-2018 ZeroC0D3 Team
14+
===============================================================================
15+
### ENVIRONMENT DEPLOY ###
16+
-------------------------------------------------------------------------------
17+
# ENVIRONMENT : staging
18+
# PATH ROOT : /home/zeroc0d3/zeroc0d3-deploy
19+
# RAILS VERSION : 5
20+
# WEB SERVER : PUMA
21+
-------------------------------------------------------------------------------
22+
### NGINX SERVICES ###
23+
-------------------------------------------------------------------------------
24+
# ./rb_deploy -no --> Reload NGINX
25+
# ./rb_deploy -nr --> Restart NGINX
26+
-------------------------------------------------------------------------------
27+
### ASSETS SERVICES ###
28+
-------------------------------------------------------------------------------
29+
# ./rb_deploy -ac --> Assets Clobber (Rollback)
30+
# ./rb_deploy -ap --> Assets Precompile
31+
-------------------------------------------------------------------------------
32+
### RESTART SERVICES ###
33+
-------------------------------------------------------------------------------
34+
# ./rb_deploy -rf --> Restart Faye
35+
# ./rb_deploy -rg --> Restart Push GCM (Google Cloud Messaging)
36+
# ./rb_deploy -rm --> Restart MongoDB
37+
# ./rb_deploy -rp --> Restart Pushr
38+
# ./rb_deploy -rq --> Restart Sidekiq
39+
# ./rb_deploy -rs --> Restart Redis
40+
# ./rb_deploy -ru --> Restart Puma
41+
-------------------------------------------------------------------------------
42+
### STOP SERVICES ###
43+
-------------------------------------------------------------------------------
44+
# ./rb_deploy -df --> Stop Faye
45+
# ./rb_deploy -dg --> Stop Push GCM (Google Cloud Messaging)
46+
# ./rb_deploy -dm --> Stop MongoDB
47+
# ./rb_deploy -dp --> Stop Pushr
48+
# ./rb_deploy -dq --> Stop Sidekiq
49+
# ./rb_deploy -ds --> Stop Redis
50+
# ./rb_deploy -du --> Stop Puma
51+
-------------------------------------------------------------------------------
52+
### VIEW LOGS ###
53+
-------------------------------------------------------------------------------
54+
# ./rb_deploy -l-env --> View Environment's Log
55+
# ./rb_deploy -l-gcm --> View Push GCM Log
56+
# ./rb_deploy -l-memcached --> View Memcached Log
57+
# ./rb_deploy -l-mongodb --> View MongoDB Log
58+
# ./rb_deploy -l-pushr --> View Pushr Log
59+
# ./rb_deploy -l-redis --> View Redis Log
60+
# ./rb_deploy -l-sidekiq --> View Sidekiq Log
61+
# ./rb_deploy -l-puma --> View Puma Log
62+
# ./rb_deploy -la-nginx --> View NGINX Access Log
63+
# ./rb_deploy -le-nginx --> View NGINX Error Log
64+
-------------------------------------------------------------------------------
65+
### SERVER ###
66+
-------------------------------------------------------------------------------
67+
# ./rb_deploy -key --> Generate Secret Token
68+
# ./rb_deploy -up --> Server Up
69+
# ./rb_deploy -down --> Server Down
70+
# ./rb_deploy -deploy / dep --> Running Deploy
71+
===============================================================================
6972
```
7073

7174
## Documentation
@@ -81,6 +84,7 @@ Alternative Ruby & Rails Deployment Tools Build With GNU C (GCC)
8184
* - [X] Unicorn `[restart│stop]`
8285
* - [X] Faye `[restart│stop]`
8386
* - [X] Pushr `[restart│stop]`
87+
* - [X] Push GCM (Google Cloud Messaging)
8488
* - [X] Sidekiq `[restart│stop]`
8589
* - [X] Redis `[restart│stop]`
8690
* - [X] Deploy

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.1
1+
1.4.2

0 commit comments

Comments
 (0)