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

Deployment Folder Structure

ZeroC0D3 Team edited this page Jan 20, 2018 · 1 revision

Folder Structure

After successfully deploy, your application would be look's like:

Development / Staging

.
├── current -> /home/deploy/zeroc0d3lab.dev/release/201711031754_1509706492
├── afterinstall.sh
├── CHANGELOG
├── LICENSE
├── make-rb_deploy
├── preinstall.sh
├── puma_start.sh
├── puma_stop.sh
├── rb_deploy
├── rb_deploy.c
├── README.md
├── VERSION
├── release
│   ├── 201711031439_1509694746
│   ├── 201711031445_1509695138
│   └── 201711031754_1509706492
│       ├── config
│       │   ├── application.yml -> /home/deploy/zeroc0d3lab.dev/shared/config/database.yml
│       │   ├── database.yml -> /home/deploy/zeroc0d3lab.dev/shared/config/database.yml
│       │   ├── mongoid.yml -> /home/deploy/zeroc0d3lab.dev/shared/config/mongoid.yml
│       │   ├── pushr-staging.yml -> /home/deploy/zeroc0d3lab.dev/shared/config/pushr-staging.yml
│       │   ├── pushr-production.yml -> /home/deploy/zeroc0d3lab.dev/shared/config/pushr-production.yml
│       │   ├── secrets.yml -> /home/deploy/zeroc0d3lab.dev/shared/config/secrets.yml
│       │   ├── sidekiq.yml -> /home/deploy/zeroc0d3lab.dev/shared/config/sidekiq.yml
│       │   ├── puma 
│       │   │   ├── staging.rb -> /home/deploy/zeroc0d3lab.dev/shared/config/puma/staging.rb
│       │   │   └── production.rb -> /home/deploy/zeroc0d3lab.dev/shared/config/puma/production.rb
│       │   └── unicorn 
│       │       ├── staging.rb -> /home/deploy/zeroc0d3lab.dev/shared/config/unicorn/staging.rb
│       │       └── production.rb -> /home/deploy/zeroc0d3lab.dev/shared/config/unicorn/production.rb
│       ├── log -> /home/deploy/zeroc0d3lab.dev/shared/log
│       ├── public
│       │   ├── assets -> /home/deploy/zeroc0d3lab.dev/shared/public/assets
│       │   ├── system -> /home/deploy/zeroc0d3lab.dev/shared/public/system
│       │   └── uploads -> /home/deploy/zeroc0d3lab.dev/shared/public/uploads
│       ├── tmp 
│       │   ├── cache -> /home/deploy/zeroc0d3lab.dev/shared/tmp/cache
│       │   ├── pids -> /home/deploy/zeroc0d3lab.dev/shared/tmp/pids
│       │   └── sockets -> /home/deploy/zeroc0d3lab.dev/shared/tmp/sockets
│       ├── vendor
│       │   └── bundle -> /home/deploy/zeroc0d3lab.dev/shared/vendor/bundle
│       ├── faye.ru -> /home/deploy/zeroc0d3lab.dev/shared/faye.ru
│       └── .env -> /home/deploy/zeroc0d3lab.dev/shared/.env
└── shared
    ├── config
    │   ├── application.yml
    │   ├── database.yml
    │   ├── mongoid.yml
    │   ├── pushr-staging.yml
    │   ├── pushr-production.yml
    │   ├── secrets.yml
    │   ├── sidekiq.yml
    │   ├── puma
    │   │   ├── staging.rb
    │   │   └── production.rb
    │   └── unicorn
    │       ├── staging.rb
    │       └── production.rb
    ├── log
    ├── public
    │   ├── assets
    │   ├── system
    │   └── uploads
    ├── tmp
    │   ├── cache
    │   ├── pids
    │   └── sockets
    ├── vendor
    │   └── bundle
    ├── faye.ru
    └── .env

Production

.
├── current -> /home/deploy/zeroc0d3lab/release/201711031754_1509706492
├── afterinstall.sh
├── CHANGELOG
├── LICENSE
├── make-rb_deploy
├── preinstall.sh
├── puma_start.sh
├── puma_stop.sh
├── rb_deploy
├── rb_deploy.c
├── README.md
├── VERSION
├── release
│   ├── 201711031439_1509694746
│   ├── 201711031445_1509695138
│   └── 201711031754_1509706492
│       ├── config
│       │   ├── application.yml -> /home/deploy/zeroc0d3lab/shared/config/database.yml
│       │   ├── database.yml -> /home/deploy/zeroc0d3lab/shared/config/database.yml
│       │   ├── mongoid.yml -> /home/deploy/zeroc0d3lab/shared/config/mongoid.yml
│       │   ├── pushr-staging.yml -> /home/deploy/zeroc0d3lab/shared/config/pushr-staging.yml
│       │   ├── pushr-production.yml -> /home/deploy/zeroc0d3lab/shared/config/pushr-production.yml
│       │   ├── secrets.yml -> /home/deploy/zeroc0d3lab/shared/config/secrets.yml
│       │   ├── sidekiq.yml -> /home/deploy/zeroc0d3lab/shared/config/sidekiq.yml
│       │   ├── puma 
│       │   │   ├── staging.rb -> /home/deploy/zeroc0d3lab/shared/config/puma/staging.rb
│       │   │   └── production.rb -> /home/deploy/zeroc0d3lab/shared/config/puma/production.rb
│       │   └── unicorn 
│       │       ├── staging.rb -> /home/deploy/zeroc0d3lab/shared/config/unicorn/staging.rb
│       │       └── production.rb -> /home/deploy/zeroc0d3lab/shared/config/unicorn/production.rb
│       ├── log -> /home/deploy/zeroc0d3lab/shared/log
│       ├── public
│       │   ├── assets -> /home/deploy/zeroc0d3lab/shared/public/assets
│       │   ├── system -> /home/deploy/zeroc0d3lab/shared/public/system
│       │   └── uploads -> /home/deploy/zeroc0d3lab/shared/public/uploads
│       ├── tmp 
│       │   ├── cache -> /home/deploy/zeroc0d3lab/shared/tmp/cache
│       │   ├── pids -> /home/deploy/zeroc0d3lab/shared/tmp/pids
│       │   └── sockets -> /home/deploy/zeroc0d3lab/shared/tmp/sockets
│       ├── vendor
│       │   └── bundle -> /home/deploy/zeroc0d3lab/shared/vendor/bundle
│       ├── faye.ru -> /home/deploy/zeroc0d3lab/shared/faye.ru
│       └── .env -> /home/deploy/zeroc0d3lab/shared/.env
└── shared
    ├── config
    │   ├── application.yml
    │   ├── database.yml
    │   ├── mongoid.yml
    │   ├── pushr-staging.yml
    │   ├── pushr-production.yml
    │   ├── secrets.yml
    │   ├── sidekiq.yml
    │   ├── puma
    │   │   ├── staging.rb
    │   │   └── production.rb
    │   └── unicorn
    │       ├── staging.rb
    │       └── production.rb
    ├── log
    ├── public
    │   ├── assets
    │   ├── system
    │   └── uploads
    ├── tmp
    │   ├── cache
    │   ├── pids
    │   └── sockets
    ├── vendor
    │   └── bundle
    ├── faye.ru
    └── .env
Clone this wiki locally