Project

General

Profile

Upgrade » History » Version 2

Anthony Mallet, 2014-01-08 17:54

1 2 Anthony Mallet
h1. Upgrade procedure
2 1 Anthony Mallet
3
Pull updates from the local repository (<code>laas</code> branch).
4
<pre>
5
# su - redmine
6
# cd src/laas
7
# git pull
8
</pre>
9
10
Install new gems, if any.
11
<pre>
12
# bundle install
13
</pre>
14
This may fail, because of conflicting packages. <code>bundle update</code> should fix that.
15
16
Then, migrate database (might be a no-op).
17
<pre>
18
# rake db:migrate RAILS_ENV=production
19
# rake redmine:plugins:migrate RAILS_ENV=production
20
</pre>
21
22
Restart passenger.
23
<pre>
24
# touch tmp/restart.txt
25
</pre>