Skip to content

Instantly share code, notes, and snippets.

@mscalora
Last active November 21, 2016 04:43
Show Gist options
  • Save mscalora/62a7b96d068865d475899b5ae187e832 to your computer and use it in GitHub Desktop.
Save mscalora/62a7b96d068865d475899b5ae187e832 to your computer and use it in GitHub Desktop.
Setup to hack motioneye on macOS

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment