Full dev env #7

Open
opened 8 months ago by lauri · 0 comments
lauri commented 8 months ago
Owner

Incorporate kdoorpi codebase into this codebase, or at least into docker-compose.dev.yml and modify so kdoorpi could be run in development mode as well.

Off the top of my head:

  • Run kdoorpi inside Docker container
  • All GPIO pin enteraction just print on console
  • To fake card swipes add signal handlers for USR1 and USR2 https://docs.python.org/3/library/signal.html#example, this way you can just do docker kill -sUSR1 blah_kdoorpi_1 to trigger fake swipe. Associate USR1 and USR2 with some well known sequences eg 12345679 and fafafafa

While at it, add instructions how to run the dev env in README

Incorporate kdoorpi codebase into this codebase, or at least into `docker-compose.dev.yml` and modify so kdoorpi could be run in development mode as well. Off the top of my head: * Run kdoorpi inside Docker container * All GPIO pin enteraction just print on console * To fake card swipes add signal handlers for USR1 and USR2 https://docs.python.org/3/library/signal.html#example, this way you can just do `docker kill -sUSR1 blah_kdoorpi_1` to trigger fake swipe. Associate USR1 and USR2 with some well known sequences eg 12345679 and fafafafa While at it, add instructions how to run the dev env in README
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.