/tictactoe

Primary LanguageElixir

Tictactoe

Multiplayer tic-tac-toe game implemented using the ALF framework

Dev

Server:

cd apps/web
mix ecto.create
mix ecto.migrate
mix run --no-halt

FE:

cd frontend
npm run serve

With ngrok

./ngrok http -region=eu 4001

Copy http forwarding url to fronend/.env.production

cd frontend
npm run build
cp -r dist ../apps/web/priv

cd ../apps/web
mix run --no-halt

Visit ngrok http url

with node name

iex --sname node1@localhost -S mix

Tic-Tac-Toe