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
Next revision Both sides next revision
en:comet:building-from-source [2017/11/03 07:16]
levhav [Error while assembling in CentOS]
en:comet:building-from-source [2018/02/17 23:16]
anastation468 [Add to Startup]
Line 43: Line 43:
 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 ======
Line 153: Line 153:
 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>​