Skip to content

celestialaly/martofu

Repository files navigation

Martofu

Martofu makes your Dofus sales easier to follow

Stack

Development

  1. If not already done, install Docker Compose (v2.10+)
  2. Run docker compose build --no-cache to build fresh images
  3. Run SERVER_NAME=martofu.localhost docker compose up -d --wait to set up the project
  4. Open https://martofu.localhost/api to browse the API docs
  5. Open http://localhost:5173 to access the Vue 3 frontend
  6. Run docker compose down --remove-orphans to stop the Docker containers.

The frontend is located under the /assets/vue folder.

Testing

Testing the API is done with PHPUnit:

docker compose exec php bin/phpunit