From 05c209d284f79b86bd64a7a50798c7e68345a554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=83=AB=20=E3=82=A6=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=83=96?= Date: Wed, 20 Mar 2019 11:07:47 -0500 Subject: [PATCH] Docker is not used by us and our instructions do not work locally --- INSTALL.md | 7 ------- docker.sh | 20 -------------------- 2 files changed, 27 deletions(-) delete mode 100755 docker.sh 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"