Update docs

This commit is contained in:
Hillel Coren 2017-07-04 09:10:53 +03:00
parent 8e57e498b5
commit 82bfbce56a

View File

@ -5,7 +5,7 @@ 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. .. TIP:: You can use this `shell script <https://pastebin.com/j657uv9A>`_ to automate the update process, consider running it as a daily cron to automatically keep your app up to date.
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.