2021-01-17 21:50:21 +01:00
|
|
|
# LBRYexplorer
|
|
|
|
A [LBRY](https://lbry.com) block explorer based on Laravel.
|
2018-08-09 22:30:21 +02:00
|
|
|
|
2021-01-17 21:50:21 +01:00
|
|
|
#### Dependencies:
|
|
|
|
* [PHP 7.4.11]
|
|
|
|
* [Laravel v8.16.1](https://laravel.com/docs/8.x)
|
2018-08-09 22:30:21 +02:00
|
|
|
|
2021-01-17 21:50:21 +01:00
|
|
|
### Install
|
2018-08-09 22:30:21 +02:00
|
|
|
|
2021-01-17 21:50:21 +01:00
|
|
|
* `git clone https://github.com/marcdeb1/LBRYEXPLORER.git`
|
|
|
|
* Install dependencies with `composer update`
|
|
|
|
* Create .env file from .env.example and edit variables according to your environment
|
2018-08-09 22:30:21 +02:00
|
|
|
|
2021-01-17 21:50:21 +01:00
|
|
|
### Run
|
2018-08-09 22:30:21 +02:00
|
|
|
|
2021-01-17 21:50:21 +01:00
|
|
|
#### Run with artisan
|
|
|
|
* Launch server with `php artisan serve`
|
|
|
|
* Open your browser at http://localhost:8000
|
2018-08-09 22:30:21 +02:00
|
|
|
|
2021-01-17 21:50:21 +01:00
|
|
|
#### Run with Docker
|
|
|
|
* `docker build -t lbry-explorer .`
|
|
|
|
* `docker-compose up`
|
|
|
|
* Open your browser at http://localhost
|
2018-08-09 22:30:21 +02:00
|
|
|
|
2021-01-17 21:50:21 +01:00
|
|
|
#### Database:
|
|
|
|
The LBRY Explorer is using [LBRY Chainquery v1.8.1](https://github.com/lbryio/chainquery/releases/tag/v1.8.1) as a remote database.
|
2018-08-09 22:30:21 +02:00
|
|
|
|
2021-01-17 21:50:21 +01:00
|
|
|
Current model schema reflects chainquery [schema](https://github.com/lbryio/chainquery/blob/master/db/chainquery_schema.sql)
|
2018-08-09 22:30:21 +02:00
|
|
|
|
2021-01-17 21:50:21 +01:00
|
|
|
![Model Schema](https://spee.ch/@SK3LA:3/chainqueryschema2.svg)
|