mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-27 23:41:33 +00:00
Developing using Docker is now simple and avoids the need to install PHP on the developer's host machine. Common code from `dev.sh` and `dev-docker.sh` has been extracted into a `dev-prepare.sh`. README contains instructions on how to use both dev scripts - which the developer can choose based on their preference.
25 lines
837 B
Markdown
25 lines
837 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 `./dev-docker.sh` from the project root
|
|
- Access [localhost:8000](http://localhost:8000) in your browser
|
|
|
|
Both the `dev.sh` and `dev-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.
|