A simple user interface to manage NFC-cards in LDAP.
Requires PHP 5.5+, MySQL, php5-ldap, php5-curl and php5-mysql.
- Install dependencies:
sudo apt-get install php5-fpm php5-ldap php5-curl nginx git. - Create a folder for the project:
mkdir /srv/passmanagement. - Clone the project in that directory:
git clone https://github.com/jakobbuis/passmanagement.git /srv/passmanagement. - Make sure nginx can access the files:
sudo chown -R jakob:www-data /srv/. - Copy
config.example.phptoconfig.phpand fill in the details. - Copy
public/javascripts/config.example.jstopublic/javascripts/config.jsand fill in the details. - Install the composer dependencies
php composer.phar install. - Copy the included
nginx.conffile to the right directory:sudo cp /srv/passmanagement/nginx.conf /etc/nginx/sites-available/passmanagement. Adapt as needed. - Symlink the website to enable it:
sudo ln -s /etc/nginx/sites-available/passmanagement /etc/nginx/sites-enabled/passmanagement. - Reload nginx:
sudo /etc/init.d/nginx reload. - Open the application in your browser.
Copyright 2015 Jakob Buis. All rights reserved.