Skip to content

IronSinew/revtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codecov

Revtools

Overview

Revtools is a Laravel Jetstream-based site using Vue and InertiaJS. It's also built with:

  • Docker
  • Caddy
  • PostgreSQL
  • Laravel Scout

Installation Prerequisites

  • Docker Desktop
  • Bun
  • If using Windows:
    • You will need to set up WSL2 (Ubuntu is known to work) and configure Docker Desktop to use it as a backend.
    • All of the following command line commands should be run inside your WSL2 / shell.

Installation

cp provision/caddy/Caddyfile.example provision/caddy/Caddyfile

It is highly likely that .env will be present, but rather, .env.example instead. To fix this, run:
cp .env.example .env

docker compose up -d
docker compose exec php composer install

docker compose exec php php artisan key:generate
bun install

Confirm the laravel schema was created during PostgreSQL container creation, otherwise, create the schema.
docker compose exec php php artisan migrate:fresh --seed

If migration fails docker compose exec pgsql createdb -U root laravel

Also, create the testing schema docker compose exec pgsql createdb -U root laravel_test

Configure folder permissions.
sudo chmod -R 777 storage/

See if it works!

bun run dev

You should now be able to view the site at http://revtools.localhost.


Contribution Guide

Please run make prepush to validate that all automated tests and styling has been satisfied before submitting a PR.


Testing emails

Access mailhog locally at http://localhost:1025


Stop Application

docker compose down

Start Application (after install)

docker compose up -d
bun run dev

  • It may not be an awful idea to check migration / npm / composer dependencies in case other installs are needed as well.

Extras

Start application:

docker compose up -d

Stop application:

docker compose down

Xdebug

Xdebug is available in the PHP container but is turned off by default. To turn it on, set XDEBUG_MODE (XDEBUG_MODE=develop as Xdebug's default, other options are documented) in .env and restart PHP via docker compose:

docker compose up -d php

Roadmap

Item section

  • Tooltips
  • Global search
  • Filtering

Mobs

  • TODO

Quests

  • Objectives List
  • Filtering
  • Flagging Completed Quests

Map

  • TODO

Guides

  • TODO

About

A suite of webtools for Revelation - a text-based MUD RPG game with a graphical UI

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •