Host setup for development - XXLRay/libreshot GitHub Wiki

Suggested host setup for libreshot development guidelines:

OS: 14.04 LTS

Suggested packages: virtualbox eclipse glade-gtk2

Suggested integration for paths: link /home/libreshot to your own profile

Eclipse suggested config: pydev installed and properly configured (workspace /home/libreshot/workspace/ & project /home/libreshot/workspace/libreshot/ )

Projects for sharing with developer team should be created under /libreshot/

Suggested virtualbox shared folder:

  • name: libreshot
  • automatic mount as: /media/sf_libreshot
  • suggested link as: /libreshot/
  • host path shared: /libreshot/

Path on the host is undefined, for example you can use a standard folder, a link or a nfs mount...

use /libreshot/ for input and project files whenever possible. Mandatory for sharing purposes...

In order to launch a debug sesion copy pysrc eclipse's folder to:

/libreshot/PYDEV/pysrc

modify bin\openshot to include:

sys.path.append('/libreshot/PYDEV/pysrc/')
import pydevd
pydevd.settrace('W.X.Y.Z')

where W.X.Y.Z is the ip of the pydev debug server, normally the host IP. when you run libreshot it will bind to it and stop, click on resume for the program to finish its starting, suspend and investigate environment as needed.

References, Learning resources: