Add info to README about upgrading Chamilo to Git-based from a package-based installation

ofaj
Yannick Warnier 10 years ago
parent 541c910803
commit c36a9c3088
  1. 16
      README.md

@ -115,6 +115,17 @@ Typically:
DELETE FROM access_url_rel_course WHERE access_url_id NOT IN (SELECT id FROM access_url); DELETE FROM access_url_rel_course WHERE access_url_id NOT IN (SELECT id FROM access_url);
</pre> </pre>
### Upgrading from non-Git Chamilo 1.10 ###
In the *very unlikely* case of upgrading a "normal" Chamilo 1.10 installation (done with the downloadable zip package) to a Git-based installation, make sure you delete the contents of a few folders first. These folders are re-generated later by the ```composer update``` command. This is likely to increase the downtime of your Chamilo portal of a few additional minutes (plan for 10 minutes on a reasonnable internet connection).
```
rm composer.lock
rm -rf web/*
rm -rf vendor/*
```
# For developers and testers only # For developers and testers only
This section is for developers only (or for people who have a good reason to use This section is for developers only (or for people who have a good reason to use
@ -155,6 +166,11 @@ version and type the following (assuming you want to execute Version201505271207
php bin/doctrine.php migrations:execute 20150527120703 --up --configuration=app/config/migrations.yml php bin/doctrine.php migrations:execute 20150527120703 --up --configuration=app/config/migrations.yml
``` ```
You can also print the differences between your database and what it should be by issuing the following command from the Chamilo base folder:
```
php bin/doctrine.php orm:schema:update --dump-sql
```
## Contributing ## Contributing
If you want to submit new features or patches to Chamilo, please follow the If you want to submit new features or patches to Chamilo, please follow the

Loading…
Cancel
Save