block-explorer/README.md

31 lines
942 B
Markdown
Raw Normal View History

2021-01-17 21:50:21 +01:00
# LBRYexplorer
A [LBRY](https://lbry.com) block explorer based on Laravel.
2021-01-17 21:50:21 +01:00
#### Dependencies:
* [PHP 7.4.11]
* [Laravel v8.16.1](https://laravel.com/docs/8.x)
2021-01-17 21:50:21 +01:00
### Install
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
2021-01-17 21:50:21 +01:00
### Run
2021-01-17 21:50:21 +01:00
#### Run with artisan
* Launch server with `php artisan serve`
* Open your browser at http://localhost:8000
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
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.
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)
2021-01-17 21:50:21 +01:00
![Model Schema](https://spee.ch/@SK3LA:3/chainqueryschema2.svg)