An instance of the server is running here: http://snakehack.enterpriselab.ch
- Install Docker
docker run --name snakehackserver -it -p 4000:4000 stairch/snakehack-server
- Connect to http://localhost:4000
Note: Docker runs on a virtual lan so when you add a snake to the game you cannot use localhost
, use your internal IP instead.
git clone [email protected]:stair-ch/snakehack-server.git`
cd snakehack-server
./scripts/setup
./scripts/dev-server
mix test
docker build --rm -t snakehack-server .
docker run -it -p 4000:4000 snakehack-server
- Connect to http://localhost:4000