Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:comet:building-from-source [2017/11/03 07:16]
levhav [Error while assembling in CentOS]
en:comet:building-from-source [2019/12/18 02:05] (current)
Line 16: Line 16:
 cmake . cmake .
 make make
 +make install
 </​code>​ </​code>​
  
Line 43: Line 44:
 systemctl enable comet.service</​code>​ systemctl enable comet.service</​code>​
  
-After successes run server we can begin create chat. If you get error create issue in [[https://​github.com/​Levhav/​comet-server/​issues|github repository]].+After successes run server we can begin create chat. If you get error, you should ​create issue in [[https://​github.com/​Levhav/​comet-server/​issues|github repository]].
  
 ====== Launch ====== ====== Launch ======
 Run in console mode Run in console mode
 <code sh> <code sh>
-./cpp_comet+./cppcomet
 </​code>​ </​code>​
 Running in daemon mode Running in daemon mode
Line 153: Line 154:
 Pay attention to what values of the port parameter are specified in the sections [ws] and [cometql] on these ports the comet server will wait for incoming connections. Pay attention to what values of the port parameter are specified in the sections [ws] and [cometql] on these ports the comet server will wait for incoming connections.
  
-In the comet.ini example in the repository, the port parameter for connections from JavaScrip api is set to 8087+In the comet.ini example in the repository, the port parameter for connections from JavaScrip api is set to 8087.
 This means that you need to connect like this: This means that you need to connect like this:
 <code JavaScript>​cometApi.start({user_id:​1,​ user_key:"​userHash",​ node:"​example.ru:​8087"​})</​code>​ <code JavaScript>​cometApi.start({user_id:​1,​ user_key:"​userHash",​ node:"​example.ru:​8087"​})</​code>​