mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-08 16:36:25 +02:00
More documentation
This commit is contained in:
parent
5d82672fa1
commit
2d5f02573f
2 changed files with 8 additions and 0 deletions
|
@ -24,6 +24,13 @@ So we need and have:
|
||||||
edit the sqlite database
|
edit the sqlite database
|
||||||
- extensibility
|
- extensibility
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
You need just to run `make`. Additional dependencies:
|
||||||
|
|
||||||
|
- [SWIG](http://www.swig.org/)
|
||||||
|
- [WiringPi2 pythonic binding](https://github.com/WiringPi/WiringPi2-Python) (for switching lock on Raspberry)
|
||||||
|
|
||||||
## Howto
|
## Howto
|
||||||
|
|
||||||
1. Create the database
|
1. Create the database
|
||||||
|
|
|
@ -58,6 +58,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
if opts.config is None:
|
if opts.config is None:
|
||||||
print >> sys.stderr, "You must specify config file via the -c option!"
|
print >> sys.stderr, "You must specify config file via the -c option!"
|
||||||
|
parser.print_help()
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if opts.authtype not in ["uid", "hmac"]:
|
if opts.authtype not in ["uid", "hmac"]:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue