Server side data logging app fro Aware-Client
-
Install node.js and mysql in your installation system.
-
Clone this repository -
git clone https://github.com/rabbihossain/Aware-Server.git
-
go to the cloned directory -
cd Aware-Server
-
change the datastore settings in
config/datastore.js
file with your mysql user,password and databse information. Here is the dummy configuration code onconfig/datastore.js
url: 'mysql://USER:PASSWORD@DB_HOST_IP:PORT/DB_NAME',
-
Also install pm2 to moitor this apps usage using
npm install -g pm2
- now run
npm install
in your terminal on that sameAware-Server
directory. - Now start the app using
pm2 start app.js -x