Skip to content

thiagoesteves/ex_snake

Repository files navigation

Phoenix Liveview Develop Erlant/OTP Release

Game webserver written in Elixir + Phoenix Liveview

Erlgame

The app has the same core game written in Erlang and Elixir but it is using phoenix as webserver and liveview to connect the templates with the server. It is part of the liveview studies.

Compile and run the application

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Deploy [Docker]

Create a docker image to deploy

The next command will create and publish your application image into the docker

make docker.build

Deploy using helm (Running locally)

make local.deploy.install

Uninstall deployment

make local.deploy.uninstall

Learn more