diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-06-13 17:58:56 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-06-13 17:58:56 +0100 |
commit | 96114fe5f9ddc501d8eacca46bcea90543b40a04 (patch) | |
tree | 9bba4ab6a479f7c3cc008234be726f43b5d344e6 /docs/running | |
parent | 4d4f3d131daf66b328db4c63a90d8f45d924da7b (diff) | |
parent | cd400116d6403fd12049644939778656625fd4fa (diff) |
Merge branch 'gh-pages-move-upgrading' into gh-pages
Diffstat (limited to 'docs/running')
-rw-r--r-- | docs/running/upgrading.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/running/upgrading.md b/docs/running/upgrading.md new file mode 100644 index 000000000..dae2244e9 --- /dev/null +++ b/docs/running/upgrading.md @@ -0,0 +1,31 @@ +--- +layout: page +title: Upgrading +--- +## Upgrading Alaveteli + +The developer team policy is that the master branch in git should always +contain the latest stable release. Therefore, in production, you should usually +have your software deployed from the master branch, and an upgrade can be +simply `git pull`. + +Patch version increases (e.g. 1.2.3 → 1.2.**4**) should not require any further +action on your part. + +Minor version increases (e.g. 1.2.4 → 1.**3**.0) will usually require further +action. You should read the [`CHANGES.md`](https://github.com/mysociety/alaveteli/blob/master/doc/CHANGES.md) document to see what's changed since +your last deployment, paying special attention to anything in the "Upgrade notes" +sections. + +Any upgrade may include new translations strings, i.e. new or altered messages +to the user that need translating to your locale. You should visit Transifex +and try to get your translation up to 100% on each new release. Failure to do +so means that any new words added to the Alaveteli source code will appear in +your website in English by default. If your translations didn't make it to the +latest release, you will need to download the updated `app.po` for your locale +from Transifex and save it in the `locale/` folder. + +Unless you're using Capistrano for deployment, you should always run the script `scripts/rails-post-deploy` after each +deployment. This runs any database migrations for you, plus various other +things that can be automated for deployment. + |