Changes between Version 42 and Version 43 of WikiStart


Ignore:
Timestamp:
09/09/21 16:54:23 (3 years ago)
Author:
Wouter Pasman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v42 v43  
    166166Refer to [https://tracinsy.ewi.tudelft.nl/pubtrac/GeniusWebPythonPartiesServer#AddingorchangingaParty install new party] to deploy your party.tar.gz on the pythonpartiesserver.
    167167
     168= Stand-alone running
     169Stand-alone running works similar as in java.
     170* Ensure you pip-installed the geniuswebcore (2.0.1 or higher)
     171* The parties you want to run must be python-based (using GeniusWebPython, not GeniusWeb) and in your pythonpath. Typically by adding them to your PYTHONPATH environment variable.
     172* The profiles you want to provide to the parties (alternatively you can refer to a profile on a running profile server)
     173* A settings.json file containing the [source:geniuswebcore/geniusweb/protocol/session SessionSettings] eg SAOP Settings. [source:geniuswebcore/test/resources/settings.json view example file].
     174
     175== Limitations
     176 SimpleRunner has a number of restrictions, compared to a run using a runserver and partyserver
     177
     178* With stand-alone runner, your parties are run together in a single python interpreter. The main implication is that there may arise version conflicts between parties.
     179* You can only use GeniusWebPython-based parties, not GeniusWeb-based parties
     180
     181
     182
     183
     184
    168185= Debugging
    169186For debugging you can use the normal python debugging facilities from your IDE (eg Eclipse PyDev). E.g. place a breakpoint in your code, and then run the unit test that reproduces the issue. The IDE switches to your program and you can step, inspect variables, etc.