概要
RetroAchievements.orgのプラットフォームです。実績やゲームデータの管理、コミュニティ機能の中核となる機能を備えています。
ゲーム・エミュレーター計測したスター増加
- 24時間
- 0
- 7日間
- +2
- 15日間
- +2
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル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
sailcommands assume it has been aliased to./vendor/bin/sailaccording to Sail's docs. ie: run./vendor/bin/sail pnpm devif 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=truein.envand create alocalbucket 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:64000when running the server via Docker,composer startorartisan 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.
関連プロジェクトを探す
読み込み中…