Merge pull request #566 from lbryio/update_script

Update script
This commit is contained in:
Maxime St-Pierre 2018-05-21 11:44:20 -04:00 committed by GitHub
commit 3acdae342e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -27,3 +27,4 @@ If `localhost:8000` returns the lbry.io website, it's running correctly.
- Both the `dev.sh` and `docker.sh` scripts will initialise a configuration based on `data/config.php.example` if `data/config.php` does not exist. - Both the `dev.sh` and `docker.sh` scripts will initialise a configuration based on `data/config.php.example` if `data/config.php` does not exist.
- Some pages and interactions rely on API keys that will not be available to you in your install. - Some pages and interactions rely on API keys that will not be available to you in your install.
- To run remotely, simply install PHP and configure Apache or your server of choice to serve `web/index.php`. - To run remotely, simply install PHP and configure Apache or your server of choice to serve `web/index.php`.
- If the dev.sh fail to start with missing php extension please install php-xml, php-curl, php-mbstring according to your OS instruction

2
dev.sh
View file

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -e
PHPBIN=php7.2 PHPBIN=php7.2
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"