-
Notifications
You must be signed in to change notification settings - Fork 0
/
migrator-readme-cs.htm
executable file
·143 lines (117 loc) · 5.83 KB
/
migrator-readme-cs.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="cs">
<head>
<meta charset="UTF-8">
<title>Migrator SunLight CMS 8.0.x</title>
<style>
* {margin: 0; padding: 0;}
body {font-family: 'Trebuchet MS', 'Geneva CE', lucida, sans-serif; font-size: 13px; color: #000000; background-color: #ffffff;}
h1 {font-size: 24px;}
h2 {font-size: 18px; color: #ff6600;}
h3 {font-size: 14px;}
h4 {font-size: 11px; font-weight: bold; color: #ff6600;}
a {color: #ff6600; text-decoration: none;}
blockquote, pre {border: 1px solid #e7e7e7; border-left: 6px solid #FF5A00; padding: 5px; overflow: auto; line-height: 140%;}
p, pre, blockquote, table {margin: 5px 0 15px 0;}
p, pre, blockquote, table td, ul li, ol li {line-height: 170%;}
ul, ol {margin: 5px 0 15px 25px;}
h2, h3, h4 {margin: 15px 0 5px 0;}
h1 {font-size: 26px; margin: 0 0 10px 0;}
h2 {font-size: 19px;}
h3 {font-size: 15px;}
h4 {font-size: 13px;}
td {padding: 4px;}
img {border: 0;}
pre span, code {color: #0063c0;}
sup {color: #ff0000;}
small {color: #858585;}
#page {width: 950px;}
#page-pad {padding: 20px 25px;}
#header {margin: 0; padding: 15px; font-size: 26px; color: #ffffff; background-color: #ff6600; border-bottom: 1px solid #FFAC75;}
</style>
</head>
<body>
<h1 id="header">Migrator SunLight CMS 8.0.x</h1>
<div id="page">
<div id="page-pad">
<h2>Informace</h2>
<table>
<tr>
<td><strong>Název</strong></td>
<td>SunLight CMS</td>
</tr>
<tr>
<td><strong>Z verzí</strong></td>
<td>7.5.3 - 7.5.5</td>
</tr>
<tr>
<td><strong>Na verzi</strong></td>
<td>8.0.x</td>
</tr>
<tr>
<td><strong>Oficiální stránky</strong></td>
<td><a href="https://sunlight-cms.cz/">sunlight-cms.cz</a></td>
</tr>
</table>
<h2>Licenční ujednání</h2>
<p>Copyright (c) 2023 Friends of SunLight CMS</p>
<p>Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:</p>
<p>The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.</p>
<h2>O Migratoru</h2>
<p>Migrator je <a href="https://github.com/friends-of-sunlight-cms/">komunitní</a> nástroj, který vznikl pro usnadnění přechodu ze SunLight CMS 7.5.3 - 7.5.5 na řadu 8.0.x.
Mějte na paměti, že Migrator nemusí být plně funkční na všech instalacích stránek.
Neoficiální změny a zásahy v systémové databázi, případně změny pomocí pluginů mohou způsobit selhání migračního procesu.
<strong>Před provedením migrace zálohujte projekt včetně databáze.</strong></p>
<h2>Migrace</h2>
<ol>
<li>
<h3>Důležité kroky před zahájením migrace</h3>
<ul>
<li>Přejmenujte adresář <em>pictures</em> na <em>images</em></li>
<li>Odstraňte všechny adresáře a soubory <strong>mimo</strong> adresářů <em>images</em> a <em>upload</em>.</li>
<li>Stáhněte si systém z oficiálních webových stránek <a href="https://sunlight-cms.cz/">sunlight-cms.cz</a></li>
<li>Nahrajte <strong>obsah</strong> adresáře <em>cms</em> se soubory systému do hlavního adresáře na vašem
webovém serveru (třeba přes FTP).</li>
</ul>
</li>
<li>
<h3>Zkopírování souborů migratoru na server</h3>
<p>Nahrajte <strong>adresář</strong> <em>migration</em> do hlavního adresáře na vašem
webovém serveru (třeba přes FTP).</p>
</li>
<li>
<h3>Nastavení oprávnění</h3>
<p>Na unixovych webových serverech bude pravděpodobně potřeba nastavit nahraným souborům
práva alespoň na 644, aby bylo možné používat funkce zálohování, souborového manažera,
nahrávání avatarů, přidávání obrázků do galerií, generování miniatur aj.</p>
</li>
<li>
<h3>Migrace databáze</h3>
<p>Otevřete ve webovém prohlížeči cestu <em>/migration</em> (např. <q>https://vasestranky1/migration/</q>).
Dále postupujte dle zobrazených instrukcí. Po úspěšné migraci je nutné adresáře
<em>migration</em> a <em>install</em> odstranit.</p>
</li>
</ol>
<h2>Závěr</h2>
<p>Více informací o systému, diskusi, pluginy a technickou podporu naleznete na oficiálních stránkách
<a href="https://sunlight-cms.cz/">sunlight-cms.cz</a>.</p>
</div>
</div>
</body>
</html>