Skip to content

debolk/passmanagement

Repository files navigation

Passmanagement

A simple user interface to manage NFC-cards in LDAP.

Requirements

Requires PHP 5.5+, MySQL, php5-ldap, php5-curl and php5-mysql.

Installation

  1. Install dependencies: sudo apt-get install php5-fpm php5-ldap php5-curl nginx git.
  2. Create a folder for the project: mkdir /srv/passmanagement.
  3. Clone the project in that directory: git clone https://github.com/jakobbuis/passmanagement.git /srv/passmanagement.
  4. Make sure nginx can access the files: sudo chown -R jakob:www-data /srv/.
  5. Copy config.example.php to config.php and fill in the details.
  6. Copy public/javascripts/config.example.js to public/javascripts/config.js and fill in the details.
  7. Install the composer dependencies php composer.phar install.
  8. Copy the included nginx.conf file to the right directory: sudo cp /srv/passmanagement/nginx.conf /etc/nginx/sites-available/passmanagement. Adapt as needed.
  9. Symlink the website to enable it: sudo ln -s /etc/nginx/sites-available/passmanagement /etc/nginx/sites-enabled/passmanagement.
  10. Reload nginx: sudo /etc/init.d/nginx reload.
  11. Open the application in your browser.

License

Copyright 2015 Jakob Buis. All rights reserved.

About

A simple application to manage passes for the frontdoor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published