Docker is not used by us and our instructions do not work locally

This commit is contained in:
ポール ウェッブ 2019-03-20 11:07:47 -05:00
parent 3426789ee4
commit 05c209d284
2 changed files with 0 additions and 27 deletions

View file

@ -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.

View file

@ -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"