diff --git a/INSTALL.md b/INSTALL.md index 088a3271..9051b49b 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -13,13 +13,6 @@ To run this project, you'll need to have either PHP7 or Docker installed, and be - Run `./dev.sh` from the project root - Access [localhost:8000](http://localhost:8000) in your browser -## Running via Docker - -- Install Docker -- Checkout the project -- Run `./docker.sh` from the project root -- Access [localhost:8000](http://localhost:8000) in your browser - ## Verifying Install If `localhost:8000` returns the lbry.com website, it's running correctly. diff --git a/docker.sh b/docker.sh deleted file mode 100755 index b70e8619..00000000 --- a/docker.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -if [ ! -e "$DIR/data/config.php" ]; then - cp "$DIR/data/config.php.example" "$DIR/data/config.php" -fi - -# Installing git hook -$DIR/hooks/install.sh - -docker run --rm -it --name "dev.lbry.com" \ - -v "$DIR:/usr/src/lbry.com" \ - -w "/usr/src/lbry.com" \ - -p "127.0.0.1:8000:8000" \ - -u "$(id -u):$(id -g)" \ - php:7-alpine \ - php composer.phar install - - php --server "0.0.0.0:8000" --docroot "web/" "index.php"