Skip to content
프로젝트

소개

RetroAchievements.org 플랫폼입니다. 도전 과제와 게임 데이터 관리, 커뮤니티 기능의 핵심 기능을 포함합니다.

게임 및 에뮬레이션

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+2
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

RetroAchievements Logo

RAWeb is RetroAchievements.org's platform application. It is a Laravel application using Inertia.js with React, TypeScript, and server-side rendering (SSR). The frontend is actively migrating from Blade/Livewire to React. Back-office administration is built with Filament.

Requirements

RAWeb runs in Docker via Laravel Sail, which provides PHP, MariaDB, Node.js, and all other services in containers. Prefer to run the application directly on your host machine instead? See the alternative environments guide.

Installation

composer install

Run the setup script

composer setup

Among other things, this creates your environment configuration file (.env) by copying .env.example, which contains a sensible set of default values. The configuration automatically detects whether it's running via the Laravel Sail application container and adjusts hosts and ports accordingly. You might want to adjust the forwarded container port numbers to your liking (APP_PORT, FORWARD_*).

Start the containers

Sail forwards commands to Docker Compose:

./vendor/bin/sail up

# Daemonize:
./vendor/bin/sail up -d

Note Subsequent mentions of sail commands assume it has been aliased to ./vendor/bin/sail according to Sail's docs. ie: run ./vendor/bin/sail pnpm dev if you haven't aliased it.

Build frontend assets

sail pnpm install
sail pnpm build

Create filesystem symlinks

sail artisan ra:storage:link --relative

Setup database

sail artisan migrate

Seed your database with additional test data:

sail artisan db:seed

Open the application in your browser

The application runs at http://localhost:64000 by default.

Development workflow

For local development with hot module replacement:

sail pnpm dev

Before submitting a pull request, verify your changes pass all checks:

# Frontend
sail pnpm verify  # Runs linting, TypeScript checks, and Vitest tests

# Backend
sail composer fix                            # Fix code style issues
sail composer analyse                        # Run PHPStan static analysis
sail composer test -- --filter=TestFileName  # Run an individual test suite
sail composer test -- --parallel             # Run all back-end tests in parallel

To run specific frontend tests:

sail pnpm test:run SomeComponent  # Run tests matching "SomeComponent"

Bundled services

Sail also provides supporting services out of the box:

  • Connect a database client of your choice to MariaDB using the forwarded port (64010 by default).
  • Mailpit catches local outbound mail and runs at http://localhost:64050.
  • MinIO acts as an AWS S3 drop-in replacement. Set AWS_MINIO=true in .env and create a local bucket manually at http://localhost:64041/buckets/add-bucket.

Usage

Developing achievements locally

Add a host.txt file next to RAIntegration.dll in your local RALibRetro's directory. The file should contain the URL to your local RAServer instance:

  • http://localhost:64000 when running the server via Docker, composer start or artisan serve.

Security Vulnerabilities

Please see our Security Policy.

Contributing

Please see our Contribution Guidelines, Translations Guide and Code of Conduct.

License

RAWeb is open-sourced software licensed under the GPL-3.0 License.

Console Icons by yspixel.jpn.org and Tatohead.

관련 프로젝트 살펴보기

불러오는 중…