This repository was archived by the owner on Mar 14, 2023. It is now read-only.
  
  
  
            
  
    
      forked from zeroc0d3/ruby-deploy-gcc
    
        
        - 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
Configuration GCM
        ZeroC0D3 Team edited this page Jan 10, 2018 
        ·
        1 revision
      
    - Add library to Gemfile
gem 'push-core'
gem 'push-gcm'
- Run bundle
bundle install
if ENV['google_app_name'].present? && !Push::ConfigurationGcm.exists?
  Push::ConfigurationGcm.create(
    app: ENV['google_app_name'], 
    connections: 2, 
    enabled: true,
    key: ENV['google_sever_key']
  )
end rescue nil
Push::MessageGcm.send :include, Push::AdditionalModel
default: &default
  app_name: ''
  app_key: ''
  version: ''
  # -----------------------------------------
  #  Googlemail
  # -----------------------------------------
  gmail_username: ''
  gmail_password: ''
  http_proxy: 'http://127.0.0.1:55558'
  https_proxy: 'http://127.0.0.1:55558'
development:
  <<: *default
  google_sever_key: ''
  google_app_name: ''
  google_app_id: ''
  google_browser_key: ''
  app_key: ''
staging:
  <<: *default
  google_sever_key: ''
  google_app_name: ''
  google_app_id: ''
  google_browser_key: ''
  app_key: ''
production:
  <<: *default
  google_sever_key: ''
  google_app_name: ''
  google_app_id: ''
  google_browser_key: ''
  app_key: ''
Research & Development (RnD) - ZeroC0D3 Team
- Email: zeroc0d3.team@gmail.com
- Repository: https://github.com/zeroc0d3lab
- Install-Packages
- Setup-Server
- Setup-Account
- Configuration-Bash
- Configuration-Zsh
- Install-Bash-Theme
- Install-Zsh-Theme
- Install-Docker
- Install-Memcached
- Install-MongoDB
- Install-MySQL
- Install-NodeJS
- Install-PostgreSQL
- Install-Redis
- Install-Ruby
- Install-SQLite3
- Configuration-App
- Configuration-GCM
- Configuration-Hosts
- Configuration-Memcached
- Configuration-MongoDB
- Configuration-PostgreSQL
- Configuration-Puma
- Configuration-Swap
- Configuration-Unicorn
- Nginx-Puma
- Nginx-Unicorn
- Logrotate
- Deployment-Dashboard
- Deployment-Configuration
- Deployment-Process
- Deployment-Folder-Structure
- Deploy-Preinstall

