Rewrite of the Deathgarden rebirth project for better maintainability and (hopefully) less bugs.
This project is written in PHP with Laravel.
You don't need much to start developing since you can use laravel sail do quickly get a local dev environment running.
- Docker
- Docker-compose
- Linux wsl (Windows)
- Laravel Knowledge
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
Copy and rename the .env.example
file to .env and fill out your Environment variables
Now you can start the sail container with
./vendor/bin/sail up -d
or if you have the sail alias configured
sail up -d
After starting sail you can run the database migrations with
sail artisan migrate
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