Meego Wiki
Views

Release Infrastructure/REVS

From MeeGo wiki
Jump to: navigation, search

Contents

REVS

Deployment steps

This instruction provides an overview of deployemnt process of revs from the sources fetched from gitorious. The result of the deployment is fully functional tool ready to be used in production environment.

Install REVS from OBS repo (prefered)

TODO: write sth. here

Install REVS from GIT (if you want to play with sources)

Fetch package source from gitorious.


    git clone git://gitorious.org/meego-infrastructure-tools/revs.git

Install all build dependencies.


    sudo apt-get install yum python-django debhelper python-support python-setuptools python-sphinx python-sqlite

Build the package.


    cd revs
    dpkg-buildpackage -rfakeroot -uc -us -sa -tc -D
    cd ..

Install REVS and REVS' lamp configuration binary dependencies


    sudo apt-get install mysql-server apache2 libapache2-mod-wsgi python-mysqldb

Install REVS together with LAMP configuration. Note that revs itself has to be installed before LAMP configuration.


    sudo dpkg -i revs_*.deb
    sudo dpkg -i revs-lamp_*.deb

After installing REVS you may go to DOMAIN/revs to use the tool or to DOMAIN/revs/admin to access admin interface. The default admin user has username admin and password admin.

Sync REVS with OBS instance

Populate database with the latest production data.


    TODO: write sth. here

Install the participant to keep the database up to date.


    TODO: write sth. here

Personal tools