Pages

Sunday, 9 April 2017

Chief is a simple web interface to assist in the deployment of web applications


Installation

  1. git clone git://github.com/jbalogh/chief.git; cd chief
  2. cp settings.py.dist settings.py
  3. Fill in settings. The "script" will be run in 3 stages:
    1. /usr/bin/commander $script pre_update
    2. /usr/bin/commander $script update
    3. /usr/bin/commander $script deploy
  4. Hook up chief.app to mod_wsgi, gunicorn, etc.

Requirements

Making an RPM

  1. Install fpm
  2. Use fpm like the following example: sudo fpm -s dir -t rpm -n "chief" -v 0.1.2 --url "http://github.com/mozilla/chief/" --provides chief -a all --description "Chief is a simple web interface to assist in the deployment of web applications." --maintainer "infra-webops@mozilla.com" -d gunicorn -d python26-redis -d Flask -d python-werkzeug -d python-wtforms -d Jinja2 --prefix "/var/www/chief" --exclude ".git*" /path/to/chief/
  3.  
  4. from https://github.com/mozilla/chief

No comments:

Post a Comment