Professional Documents
Culture Documents
Face Recognition Manual
Face Recognition Manual
Installing XAMPP
Our XAMPP tutorial will take you through the installation process for the software package on Windows.
Step 1: Download
XAMPP is a release made available by the non-profit project Apache Friends. Versions with PHP 5.5, 5.6,
or 7 are available for download on the Apache Friends website.
In the
dialog window entitled 'select components', you can choose the software components before installation
Installing NodeJS
4. Restart your computer. You won’t be able to run Node.js until you restart your computer.
Make sure you have Node and NPM installed by running simple commands to see what version of each is
installed:
Test Node. To see if Node is installed, open the Windows Command Prompt, Powershell or a
similar command line tool, and type node -v . This should print the version number so you’ll see
something like this v0.10.35 .
Test NPM. To see if NPM is installed, type npm -v in Terminal. This should print the version
number so you’ll see something like this 1.4.28
Create a test file and run it. A simple way to test that node.js works is to create a simple
JavaScript file: name it hello.js, and just add the code console.log('Node is installed!'); . To run the
code simply open your command line program, navigate to the folder where you save the file and
type node hello.js . This will start Node.js and run the code in the hello.js file. You should see the
output Node is installed! .
Setting up Application Files
a. To setup the socket server simply open a new command prompt window
and type
cd “C:/xampp/htdocs/websockets”.
a. To setup the rfid proxy simply open a new command prompt window and
type
cd “C:/xampp/htdocs/RFID-JS”.
b. Then run is using the command “node app.js COM8”
COM8 is the serial communication port where the USB of the RFID scanner is
plugged. You can check the port assignment in device manager. Under Ports you
should see a device with name “USB Serial 2.0” at the right side of this you can see
which COM port it is using.
a. You can use this link to access the test server admin panel
http://locahost/gate-backend/public/index.php