|  | 1 | = Deployment = | 
          
            |  | 2 |  | 
          
            |  | 3 | Short description of the deployment of : | 
          
            |  | 4 | * Small updates of the website operational branch | 
          
            |  | 5 | * Major upgrades of the operational website | 
          
            |  | 6 | * Deployment of the ROPP package | 
          
            |  | 7 |  | 
          
            |  | 8 | The deployment is handled by a python script executed in the fabric framework. Install the fabric framework using | 
          
            |  | 9 | {{{ | 
          
            |  | 10 | sudo apt-get install fabric | 
          
            |  | 11 | }}} | 
          
            |  | 12 |  | 
          
            |  | 13 | To list all commands supported by the fabric deployment script use the following command: | 
          
            |  | 14 | {{{ | 
          
            |  | 15 | root@graswww2:/tmp# fab -f /usr/local/bin/deploy_romsaf_web.py -l | 
          
            |  | 16 | Available commands: | 
          
            |  | 17 |  | 
          
            |  | 18 | backup_ropp             backup existing ropp files | 
          
            |  | 19 | deploy_ropp             Deploy a new ropp release | 
          
            |  | 20 | deploy_website          Deploy new website version from tag | 
          
            |  | 21 | prepare_ropp            Tar ROPP distribution and database tables, requi... | 
          
            |  | 22 | restore_ropp            backup existing ropp files | 
          
            |  | 23 | status                  Show subversion state on operational servers | 
          
            |  | 24 | update_website          Update operational website | 
          
            |  | 25 | update_website_dry_run  Dry-run of update on operational website | 
          
            |  | 26 |  | 
          
            |  | 27 | }}} |