Skip to content

xbmst/combat-sim

Repository files navigation

Hero Combat Simulator

How to run:

Populate .env (or .env.local)

# example
POSTGRES_DB=app_db
POSTGRES_PASSWORD=app_pass
POSTGRES_USER=app_user

From project root run one

docker compose up -d 
# or
# make dev

API docs:

http://.../api/docs

# default:
http://localhost:8080/api/docs

How to play:

  • Run /api/games/setup-data to get a Classes and Items list
  • Run /api/games/start to receive a gameId
  • Run /api/games/{gameId}/next-round to play next round
OPCache in dev:

To disable OPCache in Dev environment replace docker/php/opcache.ini with:

opcache.enable=0

opcache.jit=disable
opcache.jit_buffer_size=0
Makefile:
make help
make [target] -- [arguments] # e.g. make down -- -v

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors