mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-12-05 08:44:59 -06:00
8bb72bb2b7dd0950b332b411b8dceec6cee45dbb
Replace the manually set launcher version with releases uploaded from the
CI zip (exes, launcher-manifest.json and launcher-manifest.json.sig).
- New "Launcher" admin tool (renamed from Launcher Message): upload a
release, switch the current one, delete old ones, set the launcher message
- Uploads are validated: manifest rules, size + SHA-256 of every exe, and
the ECDSA manifest signature when LAUNCHER_UPDATE_PUBLIC_KEYS is set
- The same zip, manifest or version cannot be published twice; only the
newest 5 releases are kept and the current one is never removed
- Serve the current release to the launcher at /launcher/{file},
byte-for-byte and uncached, with range support for resumed downloads
- /download-launcher serves the newest framework build; the legacy
/api/v1/launcher-version returns the current release version
- Remove the launcher version from the Versioning tool
- Fix the file input button highlighting when hovering the whole input
…
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
Description
Rewrite of the Deathgarden Rebirth project: https://github.com/wolfswolke/DeathGarden_API_Rebirth
Readme
52 MiB