An open API service indexing awesome lists of open source software.

https://github.com/furiel/gomoku

gomoku written in clojure and clojurescript
https://github.com/furiel/gomoku

Last synced: 2 months ago
JSON representation

gomoku written in clojure and clojurescript

Awesome Lists containing this project

README

        

# gomoku

## Compile

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

```sh
lein uberjar
```

## Deploy

```sh
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