HugoFara / lwt

Learn languages by reading! A language learning app stemmed from Learning with Texts (LWT).
https://hugofara.github.io/lwt/
The Unlicense
168 stars 19 forks source link

can upgrade instructions be added? #198

Open abartov opened 5 months ago

abartov commented 5 months ago

I have been happily using version 2.6.0-fork for a while now. I want to upgrade to the current version, but can find no instructions on how to do so. I experimented with just dropping the latest code in place, and the app loads and works, but there are also some things not working (e.g. tests not auto-advancing to next word).

Is there some DB update or other process I need to trigger to complete the upgrade?

HugoFara commented 5 months ago

Hi Asaf, thanks for reaching out!

There is no specific procedure to do on your side, the update process should be automatic. When you create the connect.inc.php file, the database is updated to the newest version. What kind of issues did you run into?

Did you backup your database before the update? It's always a good practice as it allows you to revert the changes in case you are not satisfied with the changes.

Finally, your are updating from a fairly old release, and I'm honestly not sure if it will work. It would be safer to export the data, create a clean database, and import them back in.