source: WAeUP_Doc/InstructionsPart1.html @ 356

Last change on this file since 356 was 356, checked in by Henrik Bettermann, 18 years ago
File size: 9.1 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5<meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
6<title></title>
7<style type="text/css">
8
9/*
10:Author: David Goodger
11:Contact: goodger@users.sourceforge.net
12:Date: $Date: 2005-12-18 01:56:14 +0100 (Sun, 18 Dec 2005) $
13:Revision: $Revision: 4224 $
14:Copyright: This stylesheet has been placed in the public domain.
15
16Default cascading style sheet for the HTML output of Docutils.
17
18See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
19customize this style sheet.
20*/
21
22/* used to remove borders from tables and images */
23.borderless, table.borderless td, table.borderless th {
24  border: 0 }
25
26table.borderless td, table.borderless th {
27  /* Override padding for "table.docutils td" with "! important".
28     The right padding separates the table cells. */
29  padding: 0 0.5em 0 0 ! important }
30
31.first {
32  /* Override more specific margin styles with "! important". */
33  margin-top: 0 ! important }
34
35.last, .with-subtitle {
36  margin-bottom: 0 ! important }
37
38.hidden {
39  display: none }
40
41a.toc-backref {
42  text-decoration: none ;
43  color: black }
44
45blockquote.epigraph {
46  margin: 2em 5em ; }
47
48dl.docutils dd {
49  margin-bottom: 0.5em }
50
51/* Uncomment (and remove this text!) to get bold-faced definition list terms
52dl.docutils dt {
53  font-weight: bold }
54*/
55
56div.abstract {
57  margin: 2em 5em }
58
59div.abstract p.topic-title {
60  font-weight: bold ;
61  text-align: center }
62
63div.admonition, div.attention, div.caution, div.danger, div.error,
64div.hint, div.important, div.note, div.tip, div.warning {
65  margin: 2em ;
66  border: medium outset ;
67  padding: 1em }
68
69div.admonition p.admonition-title, div.hint p.admonition-title,
70div.important p.admonition-title, div.note p.admonition-title,
71div.tip p.admonition-title {
72  font-weight: bold ;
73  font-family: sans-serif }
74
75div.attention p.admonition-title, div.caution p.admonition-title,
76div.danger p.admonition-title, div.error p.admonition-title,
77div.warning p.admonition-title {
78  color: red ;
79  font-weight: bold ;
80  font-family: sans-serif }
81
82/* Uncomment (and remove this text!) to get reduced vertical space in
83   compound paragraphs.
84div.compound .compound-first, div.compound .compound-middle {
85  margin-bottom: 0.5em }
86
87div.compound .compound-last, div.compound .compound-middle {
88  margin-top: 0.5em }
89*/
90
91div.dedication {
92  margin: 2em 5em ;
93  text-align: center ;
94  font-style: italic }
95
96div.dedication p.topic-title {
97  font-weight: bold ;
98  font-style: normal }
99
100div.figure {
101  margin-left: 2em ;
102  margin-right: 2em }
103
104div.footer, div.header {
105  clear: both;
106  font-size: smaller }
107
108div.line-block {
109  display: block ;
110  margin-top: 1em ;
111  margin-bottom: 1em }
112
113div.line-block div.line-block {
114  margin-top: 0 ;
115  margin-bottom: 0 ;
116  margin-left: 1.5em }
117
118div.sidebar {
119  margin-left: 1em ;
120  border: medium outset ;
121  padding: 1em ;
122  background-color: #ffffee ;
123  width: 40% ;
124  float: right ;
125  clear: right }
126
127div.sidebar p.rubric {
128  font-family: sans-serif ;
129  font-size: medium }
130
131div.system-messages {
132  margin: 5em }
133
134div.system-messages h1 {
135  color: red }
136
137div.system-message {
138  border: medium outset ;
139  padding: 1em }
140
141div.system-message p.system-message-title {
142  color: red ;
143  font-weight: bold }
144
145div.topic {
146  margin: 2em }
147
148h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
149h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
150  margin-top: 0.4em }
151
152h1.title {
153  text-align: center }
154
155h2.subtitle {
156  text-align: center }
157
158hr.docutils {
159  width: 75% }
160
161img.align-left {
162  clear: left }
163
164img.align-right {
165  clear: right }
166
167ol.simple, ul.simple {
168  margin-bottom: 1em }
169
170ol.arabic {
171  list-style: decimal }
172
173ol.loweralpha {
174  list-style: lower-alpha }
175
176ol.upperalpha {
177  list-style: upper-alpha }
178
179ol.lowerroman {
180  list-style: lower-roman }
181
182ol.upperroman {
183  list-style: upper-roman }
184
185p.attribution {
186  text-align: right ;
187  margin-left: 50% }
188
189p.caption {
190  font-style: italic }
191
192p.credits {
193  font-style: italic ;
194  font-size: smaller }
195
196p.label {
197  white-space: nowrap }
198
199p.rubric {
200  font-weight: bold ;
201  font-size: larger ;
202  color: maroon ;
203  text-align: center }
204
205p.sidebar-title {
206  font-family: sans-serif ;
207  font-weight: bold ;
208  font-size: larger }
209
210p.sidebar-subtitle {
211  font-family: sans-serif ;
212  font-weight: bold }
213
214p.topic-title {
215  font-weight: bold }
216
217pre.address {
218  margin-bottom: 0 ;
219  margin-top: 0 ;
220  font-family: serif ;
221  font-size: 100% }
222
223pre.literal-block, pre.doctest-block {
224  margin-left: 2em ;
225  margin-right: 2em ;
226  background-color: #eeeeee }
227
228span.classifier {
229  font-family: sans-serif ;
230  font-style: oblique }
231
232span.classifier-delimiter {
233  font-family: sans-serif ;
234  font-weight: bold }
235
236span.interpreted {
237  font-family: sans-serif }
238
239span.option {
240  white-space: nowrap }
241
242span.pre {
243  white-space: pre }
244
245span.problematic {
246  color: red }
247
248span.section-subtitle {
249  /* font-size relative to parent (h1..h6 element) */
250  font-size: 80% }
251
252table.citation {
253  border-left: solid 1px gray;
254  margin-left: 1px }
255
256table.docinfo {
257  margin: 2em 4em }
258
259table.docutils {
260  margin-top: 0.5em ;
261  margin-bottom: 0.5em }
262
263table.footnote {
264  border-left: solid 1px black;
265  margin-left: 1px }
266
267table.docutils td, table.docutils th,
268table.docinfo td, table.docinfo th {
269  padding-left: 0.5em ;
270  padding-right: 0.5em ;
271  vertical-align: top }
272
273table.docutils th.field-name, table.docinfo th.docinfo-name {
274  font-weight: bold ;
275  text-align: left ;
276  white-space: nowrap ;
277  padding-left: 0 }
278
279h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
280h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
281  font-size: 100% }
282
283tt.docutils {
284  background-color: #eeeeee }
285
286ul.auto-toc {
287  list-style-type: none }
288
289</style>
290</head>
291<body>
292<div class="document">
293<div class="section">
294<h1><a id="instructions-part-1" name="instructions-part-1">Instructions Part 1</a></h1>
295</div>
296<div class="section">
297<h1><a id="set-up-of-the-srp-instance-on-your-local-machine-for-training-purposes-only" name="set-up-of-the-srp-instance-on-your-local-machine-for-training-purposes-only">Set-up of the SRP instance on your local machine (for training purposes only)</a></h1>
298<ol class="arabic simple">
299<li>Install Zope 2.9.3 on your local computer (Windows or Linux)</li>
300<li>Make a Zope instance (type <cite>python mkzopeinstance</cite> in the bin folder of the Zope programme directory). You are advised to create an instance called srp in your home folder ('My Files' on Windows) not in the Zope programme directory.</li>
301<li>Download CPS 3.4.0-1 or the following release candidate: <a class="reference" href="http://www.cps-project.org/static/src/CPS-3.4.1-rc.tar.gz">http://www.cps-project.org/static/src/CPS-3.4.1-rc.tar.gz</a> and unpack the files into the Products folder of your Zope instance  created in 1.</li>
302<li>Checkout the WAeUP_SRP product from our svn: <a class="reference" href="https://svn.waeup.org/repos/WAeUP_SRP/trunk">https://svn.waeup.org/repos/WAeUP_SRP/trunk</a>. You can use TortoiseSVN on Windows or type <cite>svn co https://svn.waeup.org/repos/WAeUP_SRP/trunk WAeUP_SRP</cite> on Linux. You'll need your WAeUP user name and password for the checkout. The files should be copied into a folder called <cite>WAeUP_SRP</cite> inside of the Products folder of your Zope instance.</li>
303<li>Copy the Uniben csv data files into the import folder of your Zope instance. The csv files are attached to this email.</li>
304<li>Start Zope from the bin folder of your Zope instance with <cite>./zopectl start</cite> (background) or <cite>./runzope</cite> (foreground) on Linux or <cite>runzope</cite> on Windows. You can also start a Windows Service which runs in the background. For the latter you can use the following commands:</li>
305</ol>
306<blockquote>
307<pre class="literal-block">
308python zopeservice.py install
309python zopeservice.py start
310python zopeservice.py stop
311python zopeservice.py remove
312</pre>
313</blockquote>
314<ol class="arabic simple" start="7">
315<li>Open your browser and enter <a class="reference" href="http://localhost:8080/manage">http://localhost:8080/manage</a>. After entering your user name and password (defined in 2) the ZMI shows up.</li>
316<li>Choose <cite>CPSDefault Site</cite> (nothing else!) in the pull-down menu and add.</li>
317<li>Fill the fields as follows:</li>
318</ol>
319<blockquote>
320<pre class="literal-block">
321Site ID: srp
322Site Title: Student Registration Portal
323Administrator Login: your Zope instance user name
324Password: your Zope instance password
325Extensions: WAeUP_SRP only
326Site Languages: English only
327</pre>
328</blockquote>
329<ol class="arabic simple" start="10">
330<li>Add the site</li>
331<li>Open a second browser window and enter <a class="reference" href="http://localhost:8080/srp">http://localhost:8080/srp</a> and you will see the frontpage of the portal.</li>
332<li>Login with your user name and password</li>
333<li>Goto Academics</li>
334<li>Import the Uniben data in the following order: Faculties (30 sec), Departments (1 min), Courses (15 min), Certificates (15 min), CertCourses (20 min). Be patient and wait.</li>
335<li>Ready</li>
336</ol>
337</div>
338</div>
339</body>
340</html>
Note: See TracBrowser for help on using the repository browser.