To run this project, you'll need PHP 8.5 or newer, Composer, and macOS or Linux.
- Install PHP 8.5 or newer
- Install the PHP extensions
curl,dom,intl,mbstring,pdo_mysql, andxml - Check out the project
- Run
./dev.shfrom the project root - Access localhost:8000 in your browser
If localhost:8000 returns the lbry.com website, it's running correctly.
- The
dev.shscript will initialize a configuration based ondata/config.php.exampleifdata/config.phpdoes not exist. - Some pages and interactions rely on API keys that will not be available to you in your install.
- For production, configure Nginx and PHP-FPM to use
web/index.phpas the front controller.