Skip to content

bearsunday/deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BEAR.Sunday Deployer v5 support

Download & Configuration

Download deployer script

(cd /path/to/project/bin)
git clone https://github.com/bearsunday/deploy.git
cd deploy
rm -rf .git

Edit server.yml for setting

prod:
    hostname:      example.com
    user:          release
    identity_file: ~
    deploy_path:   /var/www/Polidog.Todo
    repository:    git@github.com:koriym/Polidog.Todo.git
    branch:        deploy
    dotenv:        .env.prod
    context:       prod-html-app
    appname:       Polidog\Todo

stage:
    hostname:      example.com
    user:          release
    identity_file: ~
    deploy_path:   /var/www/Polidog.Todo
    repository:    git@github.com:koriym/Polidog.Todo.git
    branch:        master
    dotenv:        .env.stage
    context:       stage-html-app
    appname:       Polidog\Todo
  • Edit .env.prod or .env.prod for application setting.
  • Edit deploy.php for more customization. (See deployer documentation)

Deploy

cd /path/to/project/bin/deploy
php deployer.phar deploy prod

See real example in Polidog.Todo.

About

a template for http://deployer.org/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages