I thought we might collect together some helpful tips related to developing plugins and other code on an OctoPrint installation. Feel free to add your own here.
Add an alias for that virtual environment command
I find myself typing this command a lot so I decided to add a shell alias for it.
I'll be describing this for a Raspbian install since that's what I'm using.
Look for the "Alias definitions" section and add this line.
alias begin='source ~/oprint/bin/activate'
Exit and then
ssh back into your Raspberry and you now have this new alias (macro).