Add "Quick update" instructions to README.md

pull/2650/head
Yannick Warnier 7 years ago committed by GitHub
parent 2c2f479286
commit d18543f133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      README.md

@ -16,27 +16,29 @@ We assume you have already installed "yarn" and "composer" and you're installing
not in a sub folder inside a domain. not in a sub folder inside a domain.
~~~~ ~~~~
git clone https://github.com/chamilo/chamilo-lms.git chamilo2 git clone https://github.com/chamilo/chamilo-lms.git chamilo2
cd chamilo2 cd chamilo2
composer install (If composer asks to accept recipes, just press enter or "n") composer install (If composer asks to accept recipes, just press enter or "n")
php bin/console assets:install php bin/console assets:install
php bin/console fos:js-routing:dump --format=json --target=public/js/fos_js_routes.json php bin/console fos:js-routing:dump --format=json --target=public/js/fos_js_routes.json
yarn install yarn install
yarn run encore dev yarn run encore dev
chmod -R 777 .env app var public main/default_course_document/images/ chmod -R 777 .env app var public main/default_course_document/images/
~~~~ ~~~~
Then enter the main/install/index.php and follow the UI instructions (database, admin user settings, etc). Then enter the main/install/index.php and follow the UI instructions (database, admin user settings, etc).
### Quick update
If you have already installed it and just want to update it from Git, do:
~~~~
git pull origin master
yarn install
yarn encore dev
composer update
~~~~
This will update the JS (yarn) and PHP (composer) dependencies.
## Installation guide (Dev environment, stable environment not yet available) ## Installation guide (Dev environment, stable environment not yet available)

Loading…
Cancel
Save