Topic-icon pokerth-live

More
08 Apr 2020 06:12 #45885 by benny13bt
benny13bt replied.

sp0ck wrote: Hi,

sorry for missing specific info about how to run it.

1. you will need nodejs / npm in order to build the final js file
2. clone the repository
3. git checkout 001-webpack
--> that is the branch you want
4. npm i
--> install necessary dependencies
5. npm run prod
---> /pokerth-live_min.js will be compiled

Just include this js in a webpage. Adjust maybe websocket port if you change it in server config.
Take html of http://live.pokerth.net/ as example how to init the spec tool.

Good luck.

:-)


I followed your instructions, it seemed to compile very nicely. Thank you!

Though now when i get prompted for a username/pass OR try login as a guest, it spits an [object Event] error, then says offline in the top left corner...

Appreciate any help you can provide

Regards,

Please Log in or Create an account to join the conversation.

More
08 Apr 2020 15:44 - 08 Apr 2020 15:46 #45888 by sp0ck
sp0ck replied.

benny13bt wrote: I followed your instructions, it seemed to compile very nicely. Thank you!

Though now when i get prompted for a username/pass OR try login as a guest, it spits an [object Event] error, then says offline in the top left corner...

Appreciate any help you can provide

Regards,


Looks like a websocket connection issue.

Can you send me a link py pm? I would like to make some checks.

EDIT: user login is disabled - only guest login is possible

Please Log in or Create an account to join the conversation.

More
08 Apr 2020 18:48 #45898 by Tyrant917
Tyrant917 replied.
sp0ck, do you mind sharing the version of nodejs and npm that's known to work with with Live?

Please Log in or Create an account to join the conversation.

More
08 Apr 2020 19:02 #45899 by sp0ck
sp0ck replied.

Tyrant917 wrote: sp0ck, do you mind sharing the version of nodejs and npm that's known to work with with Live?


Please check https://github.com/pokerth/pokerth-live/blob/001-webpack/inc/net/neteventhandler.js#L25

IP and port are mentioned there.

B)

Please Log in or Create an account to join the conversation.

More
08 Apr 2020 19:25 #45900 by Tyrant917
Tyrant917 replied.
Thank you! I see you either run a really tight ship or you're a mind reader...or both!
The following user(s) said Thank You: sp0ck

Please Log in or Create an account to join the conversation.

More
09 Apr 2020 01:22 #45908 by benny13bt
benny13bt replied.
Thanks sp0ck, i've sent you a message.

Regards,
The following user(s) said Thank You: sp0ck

Please Log in or Create an account to join the conversation.

Champions of

PokerTH - live

The PokerTH spectator tool.

Member Login

 advert
NOTE! This site uses cookies and similar technologies.
Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information

We use cookies to personalize content and ads to offer features for social media and analyze the number of hits on our website. We also provide information about your use of our website to our partner for social media, advertising and analysis on.
http://www.google.com/intl/de/policies/privacy/partners/