Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 594 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 594 Bytes

gomoku

Compile

Create a standalone jar target/uberjar/gomoku-0.1.0-SNAPSHOT-standalone.jar:

lein uberjar

Deploy

java -jar target/uberjar/gomoku-0.1.0-SNAPSHOT-standalone.jar

You can add TLS for example with nginx. To use nginx as a websocket proxy, add

location /ws {
    proxy_pass http://localhost:3000/ws;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_read_timeout 1d;
}

Play

Choose an id (for example 1234), and open in browser: http://localhost:3000?id=1234