Skip to content

kvnmcg/godeploy

 
 

Repository files navigation

GoDeploy - www.godeploy.com

Build Status

Requirements

  • Linux
  • PHP 5.5
  • Composer
  • Bower

Install

$ git clone git@github.com:asgrim/godeploy.git
$ cd godeploy
$ git checkout [version]
$ composer install --no-dev
$ bower install

Replace [version] with the version you wish to use (just use master for latest).

Then copy config/autoload/local.php.dist to config/autoload/local.php and configure as you please (documentation does not exist for the structure yet...).

You'll need to create a MySQL database using data/schema.sql and override the database settings by copy config/autoload/database.local.php.dist to config/autoload/database.local.php and configuring your MySQL settings.

Generate the SSH private/public key to use, and put them in data/ssh/id_rsa and data/ssh/id_rsa.pub - if you put them elsewhere or use existing SSH keys, make sure to update the path in config/autoload/local.php - make sure they are accessible to PHP process.

Create cron job (note must run under www-data user):

$ sudo -u www-data crontab -e
* * * * * /usr/bin/php /home/godeploy-new/public/index.php update-repositories >/dev/null

Upgrade

$ git fetch origin
$ git checkout [version]
$ composer install --no-dev
$ bower install

About

Official git repository for GoDeploy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 83.0%
  • HTML 14.5%
  • JavaScript 1.5%
  • Other 1.0%