Running trap-emulator locally

Very good description of trap-emulator can be found in it's repo.

In order to make it work locally you have to make following things: