Assuming pip is running clean without sudu
Note: it's a good idea to create your own fork on github, if you do, use your github id in place of 'ccrisan' on the second line
cd ~/dev git clone https://github.com/ccrisan/motioneye.git cd motioneye mkdir -p /usr/local/etc/motioneye mkdir -p /usr/local/var/motioneye mkdir -p /usr/local/var/lib/motioneye cp extra/motioneye.conf.sample /usr/local/etc/motioneye/motioneye.conf sed -i -e 's/conf_path \/etc/conf_path \/usr\/local\/etc/' /usr/local/etc/motioneye/motioneye.conf sed -i -e 's/ \/var/ \/usr\/local\/var/' /usr/local/etc/motioneye/motioneye.conf python ./setup.py develop -v meyectl startserver -c /usr/local/etc/motioneye/motioneye.conf
Now for the hacking:
charm ~/dev/motioneye