Revtools is a Laravel Jetstream-based site using Vue and InertiaJS. It's also built with:
- Docker
- Caddy
- PostgreSQL
- Laravel Scout
- Docker Desktop
- Bun
- If using Windows:
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.
Please run make prepush to validate that all automated tests and styling has been satisfied before submitting a PR.
Access mailhog locally at http://localhost:1025
docker compose down
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.
docker compose up -d
docker compose down
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
- Tooltips
- Global search
- Filtering
- TODO
- Objectives List
- Filtering
- Flagging Completed Quests
- TODO
- TODO