running_sbs.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Running Raptor Using the 'sbs' Command
  2. ---------------------------------------
  3. Raptor is started from the commandline using the "sbs" command. From the
  4. windows cmd shell prompt this causes "sbs.bat" to be executed and from
  5. the bash shell (on Windows or Linux) the "sbs" shellscript is executed.
  6. The python components of Raptor are then started up by whichever of
  7. these two scripts is run.
  8. Automatic SBS_HOME Detection
  9. -----------------------------
  10. Raptor needs to be able to find its supporting files, e.g. configuration
  11. files and python components. In versions 2.17.0 and prior the SBS_HOME
  12. environment variable could optionally be set to locate these files.
  13. In later versions 2.17.0 it the value is automatically deduced from the
  14. path to the sbs script or batch file. This prevents confusion when
  15. more than one version of Raptor is installed.
  16. The sbs startup scripts normally reside in SBS_HOME/bin so they assume
  17. that SBS_HOME is the directory one up from where they themselves are
  18. located. This makes it easier to set up Raptor as one only has to add
  19. the raptor "/bin" directory to the user's PATH environment variable -
  20. something that has to be done anyhow.
  21. Running Raptor in a Python debugger
  22. ------------------------------------
  23. Since version 2.17.1 it is possible to excecute Raptor using "python
  24. bin/sbs.py" which makes it easier to run Raptor in a python debugger
  25. without having to set up any environment variables first. All that's
  26. required is that the version of python should be suitable
  27. (preferably 2.7.x or 3.2.x).