An isomorphic Tic-Tac-Toe web app, built with Miso.
The app is built and run inside a Docker container. This project scaffold was used as a starting point for development of this app.
The tic-tac-toe game logic for this app comes from here.
You will need to have docker installed on your system. This project was built using docker version 18.09.1.
If you want to modify the project, I would recommend installing stack as well.
Clone this repo and run build-docker-image.sh:
git clone https://github.com/tneisinger/miso-tictactoe
cd miso-tictactoe
./build-docker-image.sh
Note: Running build-docker-image.sh will take a long time.
To start the app, simply run:
./start-container.sh
This will start a docker container based on the docker image that was built by
build-docker-image.sh
. The docker container will automatically run
reloader.sh
, which is responsible for running the app server, as well as
rebuilding and restarting the server on code changes.
Go to http://localhost:3003
in your browser to see the result.
The scaffold for this project was heavily inspired by Tehnix/miso-isomorphic-stack repo.