Edgewall Software

Changes between Version 1 and Version 2 of Bitten Slave Daemon Windows


Ignore:
Timestamp:
Oct 24, 2009, 10:04:34 PM (15 years ago)
Author:
Sorin Sbarnea <sorin.sbarnea@…>
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Bitten Slave Daemon Windows

    v1 v2  
    11= Configuring a Windows Bitten Slave =
    22
    3 These steps should enable a bitten slave on windows for building and testing FiPy.
     3These steps should enable a bitten slave on Windows.
    44
    5  * Install pythonxy <http://www.pythonxy.com>
    6  * Install pysparse <http://pysparse.sf.net>
    7  * Go to the command line and type "{{{python}}}" and then type "{{{import pysparse}}}" and "{{{import numpy}}}" to check that everything is basically working.
     5 * Install python, setuptools and bitten
    86 * Install bitten "{{{easy_install http://svn.edgewall.org/repos/bitten/trunk/}}}"
    9  * Create a "{{{bitten.ini}}}" file in a directory. Something like
    10    {{{
    11    [fipy]
    12    inline=True
    13    Trilinos=False
    14    }}}
    15  * Execute the bitten command "{{{bitten-slave --verbose --config=bitten.ini --log=bitten.log http://www.matforge.org/fipy/builds}}}"
     7 * Execute the bitten command "{{{bitten-slave --verbose --config=bitten.ini --log=bitten.log http://www.example.com/tract/project/builds}}}"
    168 * You should now have a working bitten slave. Of course, the bitten slave may go down periodically, like when you log off. To keep the slave running there are a number of options. Some involve creating a windows service, which I couldn't get working, but are probably better. An alternative is to just create a scheduled task. To start, create a python file "{{{bittenLaunch.py}}}" along side "{{{bitten.ini}}}" that simply relaunches the bitten slave if "{{{bitten-slave}}}" is not found with the "{{{tasklist}}}" command.
    179{{{
     
    2618          '--config=bitten.ini',
    2719          '--log=bitten.log',
    28           'http://www.matforge.org/fipy/builds']
     20          'http://www.example.com/trac/project/builds']
    2921
    3022