source: WAeUP_Doc/InstructionsPart1.html @ 706

Last change on this file since 706 was 700, checked in by Henrik Bettermann, 18 years ago

all headers deleted

File size: 3.3 KB
Line 
1<html>
2<body>
3<div class="document">
4<div class="section">
5<h1><a id="instructions-part-1" name="instructions-part-1">Instructions Part 1</a></h1>
6</div>
7<div class="section">
8<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>
9<ol class="arabic simple">
10<li>Install Zope 2.9.3 on your local computer (Windows or Linux)</li>
11<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>
12<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>
13<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>
14<li>Copy the Uniben csv data files into the import folder of your Zope instance. The csv files are attached to this email.</li>
15<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>
16</ol>
17<blockquote>
18<pre class="literal-block">
19python zopeservice.py install
20python zopeservice.py start
21python zopeservice.py stop
22python zopeservice.py remove
23</pre>
24</blockquote>
25<ol class="arabic simple" start="7">
26<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>
27<li>Choose <cite>CPSDefault Site</cite> (nothing else!) in the pull-down menu and add.</li>
28<li>Fill the fields as follows:</li>
29</ol>
30<blockquote>
31<pre class="literal-block">
32Site ID: srp
33Site Title: Student Registration Portal
34Administrator Login: your Zope instance user name
35Password: your Zope instance password
36Extensions: WAeUP_SRP only
37Site Languages: English only
38</pre>
39</blockquote>
40<ol class="arabic simple" start="10">
41<li>Add the site</li>
42<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>
43<li>Login with your user name and password</li>
44<li>Goto Academics</li>
45<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>
46<li>Ready</li>
47</ol>
48</div>
49</div>
50</body>
51</html>
Note: See TracBrowser for help on using the repository browser.