mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Update install/upgrade instructions
This commit is contained in:
parent
ef5ac81c6b
commit
721a5ed5c8
3 changed files with 5 additions and 3 deletions
|
@ -8,7 +8,8 @@ To run this project, you'll need to have either PHP7 or Docker installed, and be
|
||||||
|
|
||||||
- Install [PHP7](http://php.net/downloads.php)
|
- Install [PHP7](http://php.net/downloads.php)
|
||||||
- Possibly install additional PHP extensions: `curl`, `xml`, `mbstring`, `dom`
|
- Possibly install additional PHP extensions: `curl`, `xml`, `mbstring`, `dom`
|
||||||
- Checkout the project. Be sure to install/update submodules (`git submodule update --recursive --remote`).
|
- Checkout the project and be sure to install submodules: `git submodule update --init`
|
||||||
|
- If you have already cloned the project, be sure to update submodules: `git submodule update --recursive --remote`
|
||||||
- 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
|
||||||
|
|
||||||
|
|
2
dev.sh
2
dev.sh
|
@ -18,5 +18,5 @@ fi
|
||||||
$DIR/hooks/install.sh
|
$DIR/hooks/install.sh
|
||||||
|
|
||||||
$PHPBIN composer.phar install
|
$PHPBIN composer.phar install
|
||||||
|
git submodule update --init
|
||||||
$PHPBIN --server localhost:8000 --docroot "$DIR/web" "$DIR/web/index.php"
|
$PHPBIN --server localhost:8000 --docroot "$DIR/web" "$DIR/web/index.php"
|
||||||
|
|
|
@ -16,7 +16,8 @@ if (!$force && !file_exists($needsUpdateFile)) {
|
||||||
|
|
||||||
chdir(ROOT_DIR);
|
chdir(ROOT_DIR);
|
||||||
|
|
||||||
Shell::exec('git fetch && git reset --hard origin/904-unify');
|
Shell::exec('git fetch && git reset --hard origin/master');
|
||||||
|
Shell::exec('git submodule update --init');
|
||||||
Shell::exec('git pull --recurse-submodules');
|
Shell::exec('git pull --recurse-submodules');
|
||||||
Shell::exec('php composer.phar install');
|
Shell::exec('php composer.phar install');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue