lbry.com/README.md
Fabrizio Lungo 2ec174b685 Added dev-docker.sh for developing with Docker
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.
2017-04-17 09:55:13 -04:00

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.