Skip to content

Commit 9ebe5a2

Browse files
committed
deployment doc changes
1 parent cfc307a commit 9ebe5a2

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,30 @@
22

33
This project is designed to measure sensor data from a device and generate real-time X-Y axis charts. Leveraging WebSocket.io technology, the application provides a robust and highly optimized solution for visualizing data. Even under challenging network conditions, our APIs consistently deliver data within an impressive 40-millisecond timeframe.
44

5-
Our commitment to stability, optimization, and real-time data visualization sets this project apart.
5+
How to fire this up ??
6+
-------------------------
7+
make sure node.js and mongodb installed in OS level
8+
9+
steps
10+
-------
11+
* from project dir
12+
13+
1)npm i
14+
2)npm i pm2 -g
15+
3)pm2 start automotive.mjs
16+
17+
18+
if u want to monitor the logs
19+
_________________________________
20+
4)pm2 logs
21+
22+
to kill the services
23+
________________________________
24+
5)pm2 kill / pm2 delete automotive.mjs
25+
26+
27+
28+
29+
note =>
30+
---------
31+
theres also a file called .env which we can set port and define database url , by default the port is 4001 , and database is accessed with in the system mongo service

0 commit comments

Comments
 (0)