ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE3/doc/branches/3.1/OpenPNE3_Setup_Guide/en/OpenPNE3_Version_Up_Guide.txt @ 13067

Last change on this file since 13067 was 13067, checked in by ebihara, 13 years ago

update version up guide

File size: 1.6 KB
Line 
1How to Update OpenPNE3.1
2========================
3
4Getting Started
5---------------
6
7This document is for updating OpenPNE 3.1.x to OpenPNE 3.1.y.
8
9This document is for OpenPNE 3.1 so the way for other version may be changed.
10
11You should backup database before your updating.
12
13Plan
14----
15
16The updating plan is the following:
17
18(1) Setting files
19(2) Update the configuration file
20(3) Execute the updating command
21
22The Way to Work
23---------------
24
25Setting Files
26~~~~~~~~~~~~~
27
28Set the OpenPNE 3.1 files to your web server.
29
30You must change the files from the old to avoid troubles by mixing the new with the old.
31
32Update the configuration file
33~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34
35Copy config/ProjectConfiguration.class.php.sample to config/ProjectConfiguration.class.php.
36
37If you write your original configuration to your old config/ProjectConfiguration.class.php, you should change the new file.
38
39And copy the old config/database.yml to new config/database.yml.
40
41Copy the Plugin Directory
42~~~~~~~~~~~~~~~~~~~~~~~~~
43
44Copy the contents in old plugins.
45
46::
47
48  $ cp -aur /path/to/old/OpenPNE3/plugins/* /path/to/new/OpenPNE3/plugins
49  $ cp -aur /path/to/old/OpenPNE3/plugins/.* /path/to/new/OpenPNE3/plugins
50
51Re-build Models
52~~~~~~~~~~~~~~~
53
54Execute the following command in the project root directory.
55
56::
57
58  $ ./symfony doctrine:build-model
59  $ ./symfony cc
60
61Execute the Updating Command
62~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63
64Execute the following command in the project root directory.
65
66::
67
68  $ ./symfony openpne:migrate
69
70This command will update OpenPNE and plugins to newer version.
71
72Now, updating has been done.
Note: See TracBrowser for help on using the repository browser.