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:
- Installing Eclipse on 14.04: http://www.krizna.com/ubuntu/install-eclipse-ubuntu-14-04/
- Pydev articles: http://www.pydev.org/manual_101_root.html
- glade-gtk2: http://www.ucs.cam.ac.uk/docs/course-notes/unix-courses/archived/earlier/Glade/files/course.pdf
- VirtualBox: https://www.virtualbox.org/manual/UserManual.html