mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Updated the Docker script to start the site correctly. The DIR variable was not being used in each place which it should have been used and this has allowed the removal of the `readlink -f` command which had compatibility issues with MacOS (#297). The README did not have the change in name for the docker script reflected in all references so this has also been corrected.
25 lines
829 B
Markdown
25 lines
829 B
Markdown
# lbry.io
|
|
|
|
The [lbry.io](https://lbry.io) website.
|
|
|
|
## Running lbry.io
|
|
|
|
It's very easy to have lbry.io running locally:
|
|
|
|
- Install PHP7
|
|
- Checkout the project
|
|
- Run `./dev.sh` from the project root
|
|
- Access [localhost:8000](http://localhost:8000) in your browser
|
|
|
|
You can also run the development server using docker:
|
|
|
|
- Install Docker
|
|
- Checkout the project
|
|
- Run `./docker.sh` from the project root
|
|
- Access [localhost:8000](http://localhost:8000) in your browser
|
|
|
|
Both the `dev.sh` and `docker.sh` scripts will initialise a configuration based on `data/config.php.example` if `data/config.php` does not exist.
|
|
|
|
To run remotely, simply install PHP and configure Apache or your server of choice to serve `web/index.php`.
|
|
|
|
Note that some pages and interactions rely on API keys that will not be available to you in your install.
|