[356] | 1 | Instructions Part 1
|
---|
| 2 | +++++++++++++++++++
|
---|
| 3 |
|
---|
| 4 | Set-up of the SRP instance on your local machine (for training purposes only)
|
---|
| 5 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
---|
| 6 |
|
---|
| 7 | 1. Install Zope 2.9.3 on your local computer (Windows or Linux)
|
---|
| 8 |
|
---|
| 9 | 2. Make a Zope instance (type `python mkzopeinstance` 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.
|
---|
| 10 |
|
---|
| 11 | 3. Download CPS 3.4.0-1 or the following release candidate: http://www.cps-project.org/static/src/CPS-3.4.1-rc.tar.gz and unpack the files into the Products folder of your Zope instance created in 1.
|
---|
| 12 |
|
---|
| 13 | 4. Checkout the WAeUP_SRP product from our svn: https://svn.waeup.org/repos/WAeUP_SRP/trunk. You can use TortoiseSVN on Windows or type `svn co https://svn.waeup.org/repos/WAeUP_SRP/trunk WAeUP_SRP` on Linux. You'll need your WAeUP user name and password for the checkout. The files should be copied into a folder called `WAeUP_SRP` inside of the Products folder of your Zope instance.
|
---|
| 14 |
|
---|
| 15 | 5. Copy the Uniben csv data files into the import folder of your Zope instance. The csv files are attached to this email.
|
---|
| 16 |
|
---|
| 17 | 6. Start Zope from the bin folder of your Zope instance with `./zopectl start` (background) or `./runzope` (foreground) on Linux or `runzope` on Windows. You can also start a Windows Service which runs in the background. For the latter you can use the following commands:
|
---|
| 18 |
|
---|
| 19 | ::
|
---|
| 20 |
|
---|
| 21 | python zopeservice.py install
|
---|
| 22 | python zopeservice.py start
|
---|
| 23 | python zopeservice.py stop
|
---|
| 24 | python zopeservice.py remove
|
---|
| 25 |
|
---|
| 26 | 7. Open your browser and enter http://localhost:8080/manage. After entering your user name and password (defined in 2) the ZMI shows up.
|
---|
| 27 |
|
---|
| 28 | 8. Choose `CPSDefault Site` (nothing else!) in the pull-down menu and add.
|
---|
| 29 |
|
---|
| 30 | 9. Fill the fields as follows:
|
---|
| 31 |
|
---|
| 32 | ::
|
---|
| 33 |
|
---|
| 34 | Site ID: srp
|
---|
| 35 | Site Title: Student Registration Portal
|
---|
| 36 | Administrator Login: your Zope instance user name
|
---|
| 37 | Password: your Zope instance password
|
---|
| 38 | Extensions: WAeUP_SRP only
|
---|
| 39 | Site Languages: English only
|
---|
| 40 |
|
---|
| 41 | 10. Add the site
|
---|
| 42 |
|
---|
| 43 | 11. Open a second browser window and enter http://localhost:8080/srp and you will see the frontpage of the portal.
|
---|
| 44 |
|
---|
| 45 | 12. Login with your user name and password
|
---|
| 46 |
|
---|
| 47 | 13. Goto Academics
|
---|
| 48 |
|
---|
| 49 | 14. 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.
|
---|
| 50 |
|
---|
| 51 | 15. Ready
|
---|