MOBA - Multiplayer Online Battle Arena
A community-made turn-based RPG built with Phoenix LiveView.
Get Involved
MOBA is an opportunity to get your feet wet with Phoenix LiveView (or even Elixir) beyond simple counter demos. It's first and foremost a fun learning experience for all developer skill levels, while also being an actual product with real users deployed in a production environment. Interested? Get Involved.
Requirements
- PostgreSQL 12
- Elixir 1.13.3
- Erlang 23.3
- node.js 17.0.1
Setup
- Install dependencies with
mix deps.get
- Create, migrate and seed your database with
mix ecto.setup
- Install asset dependencies with
cd assets && npm install
- Start Phoenix endpoint with
mix phx.server
(in project root)
Now you can visit localhost:4000
from your browser. You can login with the seeded admin account: [email protected]
123456
Running tests
The tests need the seeds file to be run on the test database.
MIX_ENV=test mix ecto.setup
mix test