mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Docker is not used by us and our instructions do not work locally
This commit is contained in:
parent
3426789ee4
commit
05c209d284
2 changed files with 0 additions and 27 deletions
|
@ -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
|
- Run `./dev.sh` from the project root
|
||||||
- Access [localhost:8000](http://localhost:8000) in your browser
|
- 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
|
## Verifying Install
|
||||||
|
|
||||||
If `localhost:8000` returns the lbry.com website, it's running correctly.
|
If `localhost:8000` returns the lbry.com website, it's running correctly.
|
||||||
|
|
20
docker.sh
20
docker.sh
|
@ -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"
|
|
Loading…
Add table
Reference in a new issue