Update docs

This commit is contained in:
Hillel Coren 2017-06-26 21:52:14 +03:00
parent 1832411982
commit 1b7ddc0e4e

View File

@ -5,6 +5,8 @@ Update
To update the app you just need to copy over the latest code. The app tracks the current version in a file called version.txt, if it notices a change it loads ``/update`` to run the database migrations. To update the app you just need to copy over the latest code. The app tracks the current version in a file called version.txt, if it notices a change it loads ``/update`` to run the database migrations.
.. TIP:: Here's an `example shell script <https://pastebin.com/rAGGc1XW>`_ to automate the update process.
If you're moving servers make sure to copy over the .env file. If you're moving servers make sure to copy over the .env file.
If the auto-update fails you can manually run the update with the following commands. Once completed add ``?clear_cache=true`` to the end of the URL to clear the application cache. If the auto-update fails you can manually run the update with the following commands. Once completed add ``?clear_cache=true`` to the end of the URL to clear the application cache.