GitXplorerGitXplorer
L

pidoor

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
f4fdabddacf193e585a95fd75df157ee37645830

mise à jour README

LLapin-Blanc committed 9 years ago
Unverified
d591387d53220335f19375832ebb776b0123495e

mise à jour du README

LLapin-Blanc committed 9 years ago
Unverified
be4439f237be61943a4985c0eb23c187a269e3e1

Ajout du schéma de montage et mise à jour des broches dans les sources

LLapin-Blanc committed 9 years ago
Unverified
c213beff74cf754a7f3110ba213767bb19f1e204

Import initial

LLapin-Blanc committed 9 years ago
Unverified
55c56535e4b287d3724934cb54d9efc29a99249d

Initial commit

LLapin-Blanc committed 9 years ago

README

The README file for this repository.

pidoor

Simple door access management via Belgian Indentity card on RaspberryPi

Pyscard installation

sudo apt-get -y update && sudo apt-get -y upgrade
sudo apt-get -y install swig libpcsclite-dev libacr38u python3-setuptools build-essential python3-pip git
git clone https://github.com/LudovicRousseau/pyscard.git
cd pyscard
sudo python3 setup.py build_ext install
cd ..
sudo rm -fr pyscard

Django installation

sudo pip3 install django

Django configuration

cd
git clone https://github.com/Lapin-Blanc/pidoor.git
cd pidoor
python3 cardsite/manage.py makemigrations
python3 cardsite/manage.py migrate
python3 cardsite/manage.py createsuperuser

Testing

python3 cardsite/manage.py runserver 0.0.0.0:8000 &
./pidoor.py

Access management site at http://raspberry_ip:8000/admin/ via Firefox or IE (java needed, so, no Chrome...) from a computer with a Beid reader.

Encode some users and grant them access or not, then try the cards into the RPi's reader