Rewrite of the Deathgarden Rebirth project: https://github.com/wolfswolke/DeathGarden_API_Rebirth
Go to file
2025-09-06 21:04:25 +02:00
.github/workflows Update playtest.yml 2025-09-06 20:29:53 +02:00
Deathgarden Rebirth Bruno Added Endpoint and admin tool page for setting a message for the launcher consisting of a message and an url. 2024-08-30 01:27:30 +02:00
dist Final Changes 2025-08-07 00:04:06 +02:00
.gitignore Added Game and Player match history. Also adjusted how players get deleted from a match. 2024-07-31 22:14:48 +02:00
README.md Added Setup Instruction for local development to README 2024-02-14 23:46:54 +01:00

Deathgarden Rebirth Rewrite

Rewrite of the Deathgarden rebirth project for better maintainability and (hopefully) less bugs.

This project is written in PHP with Laravel.

How to start developing

You don't need much to start developing since you can use laravel sail do quickly get a local dev environment running.

Prerequisites

  • Docker
  • Docker-compose
  • Linux wsl (Windows)
  • Laravel Knowledge

Step 1 - Clone the Repository

Step 2 - Install Composer dependencies

Move into the ./dist folder and install the composer dependencies.
If its your first time setting up the project and you dont have composer installed, you can use this command to install them:

docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v "$(pwd):/var/www/html" \
    -w /var/www/html \
    laravelsail/php83-composer:latest \
    composer install --ignore-platform-reqs

Step 3 - Setup .env

Copy and rename the .env.example file to .env and fill out your Environment variables

Step 4 - Starting Sail

Now you can start the sail container with

./vendor/bin/sail up -d

or if you have the sail alias configured

sail up -d

Step 5 - Setup Database

After starting sail you can run the database migrations with

sail artisan migrate

Step 6 - Installing JS Dependencias and Compile

First you can install the JS dependencies with

sail npm install

and build the JS with

# for building files a single time
sail npm run build
# for active developing with vite
sail npm run dev