Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 2.34 KB

README.md

File metadata and controls

41 lines (35 loc) · 2.34 KB

Access Control Server

A RESTful server that works with the Access Control Nodes (https://github.com/solexious/ACNode) Protocol loosely based on http://wiki.london.hackspace.org.uk/view/Project:Tool_Access_Control/Solexious_Proposal

Status: Done, in production

Progress:

Install:

  • Requires nginx, php5, php5-mysql, php5-fpm, mysqld
  • Copy acserver.nginx to /etc/nginx/sites-available/acserver
  • Run ln -s /etc/nginx/sites-enabled/acserver /etc/nginx/sites-available/acserver
  • Create MySQL database, and create tables with mysql -uuser -p tablename < blank.sql
  • Move application/config/database.php.blank to application/config/database.php and modify with your mysql config
  • Start php5-fpm and nginx

Usage:

  • See the comments in application/controllers/api.php for usage examples.