Skip to content

WhoTrades/rds

Repository files navigation

RDS

A deployment management tool written by PHP and yii 2 with web interface and command line build agents

More documentation about RDS

Features

  • Full control of deployment process (from creating version bundle and uploading to servers to removing it)
  • WEB interface for control deployment process written using bootstrap
  • Support any PHP frameworks or projects
  • Working with many application servers at one time
  • Deployment process contains steps:
    • Building version bundle
    • Uploading version bundle to list of servers
    • Execution SQL migrations
    • Uploading CRON configuration
    • Activation version bundle or reverting to previous one
    • Removing version bundle from servers after some time

Dependencies

RDS components:

  • Postgres 9.3+
  • PHP 7.0+
  • RabbitMq 3.3+

Installation via vagrant

Installation manually

  • Clone project
  • Run composer install
  • Create database at postgres, load data from dump.sql
  • Create database user
  • Create user and vhost at RabbitMq (by default: user: rds, pass: rds)
  • Set up configuration at rds/src/config/main.php and rds-build-agent/src/config/console.php
  • Set up cron jobs as in rds/install/vagrant/cron.d
  • Set up your web server to web/index.php (the same as for yii2)
  • Enjoy

Contributing

You are able to create any pull request and ask for merging it

License

Licensed under the MIT license.