Anonymous

Project:Tool Access Control/ACNet: Difference between revisions

From London Hackspace Wiki
Line 49: Line 49:


PHP Code Igniter implementation started by [[User:mentar|mentar]] located here [https://github.com/mentarus/ACServer here]
PHP Code Igniter implementation started by [[User:mentar|mentar]] located here [https://github.com/mentarus/ACServer here]
Currently running on Babbage for dev purposes, will be run on a secure box after.
=== Running ===
Go to a shell on babbage.
Make sure it's not already running by:
<code>sudo lsof -i :1234</code>
Then:
<code>cd /var/www/ACNode</code>
<code>./start.sh</code>
=== Testing ===
Currently only test tool active (node 1).
As per Sol's ACNode rest spec:
<code>curl -H 'Accept: text/plain' http://babbage:1234/1/sync/</code>
<code>curl -H 'Accept: text/plain' http://babbage:1234/1/card/04FF7922E40080</code>


== Membership DB ==
== Membership DB ==
Running on Turing VM slice (hosted outside the space as it has personal data). Accessed in JSON format.
Running on Turing VM slice (hosted outside the space as it has personal data). Accessed in JSON format.