Changeset 7823
- Timestamp:
- 9 Mar 2012, 07:27:06 (13 years ago)
- Location:
- main/waeup.custom/trunk/docs
- Files:
-
- 1 deleted
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.custom/trunk/docs/INSTALL.txt
r6330 r7823 2 2 *************************************** 3 3 4 .. note:: `waeup. sirp` might not work with Python > 2.64 .. note:: `waeup.kofa` might not work with Python > 2.6 5 5 currently. Use of Python 2.6 is recommended. 6 6 … … 8 8 ============= 9 9 10 The `waeup. sirp` package is based on `Grok`_, which is a Python10 The `waeup.kofa` package is based on `Grok`_, which is a Python 11 11 framework for agile webapplication development. Grok itself is based 12 12 on `Zope`_. … … 24 24 compile the parts written in C. 25 25 26 To deploy `waeup. sirp` most easily, we use `zc.buildout`_26 To deploy `waeup.kofa` most easily, we use `zc.buildout`_ 27 27 28 28 .. _zc.buildout: http://cheeseshop.python.org/pypi/zc.buildout … … 57 57 eggs-directory = /home/bruno/buildout-eggs 58 58 59 Running the `waeup. sirp` application59 Running the `waeup.kofa` application 60 60 ====================================== 61 61 62 62 You can start Zope with the with the following command:: 63 63 64 $ bin/ sirpctl fg64 $ bin/kofactl fg 65 65 66 66 Alternatively you can do: -
main/waeup.custom/trunk/docs/INSTALLWIN.txt
r6619 r7823 2 2 ******************************************** 3 3 4 .. note:: `waeup. sirp` has been developed to run on Linux servers,4 .. note:: `waeup.kofa` has been developed to run on Linux servers, 5 5 preferarbly with an Ubuntu OS. The installation on Windows computers 6 6 is for demonstration purposes only. … … 35 35 36 36 **Step 3**. Open up a command window and change to the folder where you want to place the sandbox 37 that will contain your SIRPproject. In this HowTo we will assume and recommend this folder is ``C:\`` ::37 that will contain your Kofa project. In this HowTo we will assume and recommend this folder is ``C:\`` :: 38 38 39 39 C:\[any_path]> cd c:\ … … 45 45 **Step 5**. Create an isolated environment (sandbox) using the command:: 46 46 47 C:\> virtualenv win sirp47 C:\> virtualenv winkofa 48 48 49 49 **Step 6**. Activate the environment:: 50 50 51 C:\> cd win sirp52 C:\win sirp> Scripts\activate51 C:\> cd winkofa 52 C:\winkofa> Scripts\activate 53 53 54 54 Note that the system prompt has changed. 55 55 56 Run SIRP56 Run Kofa 57 57 ======== 58 58 59 **Step 7**. Copy the ``waeup. sirp`` folder into ``C:\winsirp``.59 **Step 7**. Copy the ``waeup.kofa`` folder into ``C:\winkofa``. 60 60 61 61 **Step 8**. Run the bootstrap script:: 62 62 63 (win sirp) C:\winsirp\waeup.sirp> cd waeup.sirp64 (win sirp) C:\winsirp\waeup.sirp> python bootstrap\bootstrap.py -c buildout-windows.cfg63 (winkofa) C:\winkofa\waeup.kofa> cd waeup.kofa 64 (winkofa) C:\winkofa\waeup.kofa> python bootstrap\bootstrap.py -c buildout-windows.cfg 65 65 66 66 **Step 9**. Run buildout (this takes a while):: 67 67 68 C:\win sirp\waeup.sirp> bin\buildout.exe -c buildout-windows.cfg68 C:\winkofa\waeup.kofa> bin\buildout.exe -c buildout-windows.cfg 69 69 70 70 **Step 10**. You can deactivate your environment again:: 71 71 72 (win sirp) C:\winsirp\waeup.sirp> ..\Scripts\deactivate72 (winkofa) C:\winkofa\waeup.kofa> ..\Scripts\deactivate 73 73 74 **Step 11**. Start your SIRP::74 **Step 11**. Start your Kofa:: 75 75 76 C:\win sirp\waeup.sirp> bin\paster serve parts\etc\deploy.ini76 C:\winkofa\waeup.kofa> bin\paster serve parts\etc\deploy.ini 77 77 78 78 or from anywhere in your system:: 79 79 80 C:\[any_path]> C:\win sirp\trunk\bin\paster serve C:\winsirp\trunk\parts\etc\deploy.ini80 C:\[any_path]> C:\winkofa\trunk\bin\paster serve C:\winkofa\trunk\parts\etc\deploy.ini 81 81 82 **Step 12**. Visit the SIRPwebsite and create your university instance:82 **Step 12**. Visit the Kofa website and create your university instance: 83 83 84 84 | http://localhost:8080 -
main/waeup.custom/trunk/docs/Makefile
r5331 r7823 62 62 @echo "Build finished; now you can run "qcollectiongenerator" with the" \ 63 63 ".qhcp project file in $(BUILDDIR)/qthelp, like this:" 64 @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/WAeUPStudentInformationandRegistrationPortal SIRP.qhcp"64 @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/WAeUPStudentInformationandRegistrationPortalKofa.qhcp" 65 65 @echo "To view the help file:" 66 @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/WAeUPStudentInformationandRegistrationPortal SIRP.qhc"66 @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/WAeUPStudentInformationandRegistrationPortalKofa.qhc" 67 67 68 68 latex: -
main/waeup.custom/trunk/docs/make.bat
r5331 r7823 75 75 echo.Build finished; now you can run "qcollectiongenerator" with the ^ 76 76 .qhcp project file in %BUILDDIR%/qthelp, like this: 77 echo.^> qcollectiongenerator %BUILDDIR%\qthelp\WAeUPStudentInformationandRegistrationPortal SIRP.qhcp77 echo.^> qcollectiongenerator %BUILDDIR%\qthelp\WAeUPStudentInformationandRegistrationPortalKofa.qhcp 78 78 echo.To view the help file: 79 echo.^> assistant -collectionFile %BUILDDIR%\qthelp\WAeUPStudentInformationandRegistrationPortal SIRP.ghc79 echo.^> assistant -collectionFile %BUILDDIR%\qthelp\WAeUPStudentInformationandRegistrationPortalKofa.ghc 80 80 goto end 81 81 ) -
main/waeup.custom/trunk/docs/source/bugs.rst
r5339 r7823 1 1 .. _reporting-bugs: 2 2 3 Reporting Bugs in `waeup. sirp`3 Reporting Bugs in `waeup.kofa` 4 4 ****************************** 5 5 6 6 The developers would like to know of any deficiencies you find in 7 `waeup. sirp`.7 `waeup.kofa`. 8 8 9 9 Also telling about errors and shortcomings in the documentation are -
main/waeup.custom/trunk/docs/source/conf.py
r5662 r7823 1 1 # -*- coding: utf-8 -*- 2 2 # 3 # WAeUP Student Information and Registration Portal ( SIRP) documentation build configuration file, created by3 # WAeUP Student Information and Registration Portal (Kofa) documentation build configuration file, created by 4 4 # sphinx-quickstart on Thu Jul 29 10:41:59 2010. 5 5 # … … 48 48 49 49 # General information about the project. 50 project = u'WAeUP SIRP'50 project = u'WAeUP Kofa' 51 51 copyright = u'2011, WAeUP Team' 52 52 … … 56 56 # 57 57 # The short X.Y version. 58 version = pkg_resources.get_distribution('waeup. sirp').version58 version = pkg_resources.get_distribution('waeup.kofa').version 59 59 #version = '0.2dev' 60 60 # The full version, including alpha/beta/rc tags. … … 174 174 175 175 # Output file base name for HTML help builder. 176 htmlhelp_basename = 'WAeUPStudentInformationandRegistrationPortal SIRPdoc'176 htmlhelp_basename = 'WAeUPStudentInformationandRegistrationPortalKofadoc' 177 177 178 178 … … 188 188 # (source start file, target name, title, author, documentclass [howto/manual]). 189 189 latex_documents = [ 190 ('index', 'WAeUPStudentInformationandRegistrationPortal SIRP.tex', u'WAeUP Student Information and Registration Portal (SIRP) Documentation',190 ('index', 'WAeUPStudentInformationandRegistrationPortalKofa.tex', u'WAeUP Student Information and Registration Portal (Kofa) Documentation', 191 191 u'WAeUP Team', 'manual'), 192 192 ] -
main/waeup.custom/trunk/docs/source/contents.rst
r5339 r7823 1 1 .. _contents: 2 2 3 `waeup. sirp` documentation contents3 `waeup.kofa` documentation contents 4 4 =================================== 5 5 -
main/waeup.custom/trunk/docs/source/copyright.rst
r5338 r7823 2 2 ********* 3 3 4 `waeup. sirp` and this documentation is:4 `waeup.kofa` and this documentation is: 5 5 6 6 Copyright © 2009-2010 The WAeUP Group. All rights reserved. -
main/waeup.custom/trunk/docs/source/developerdocs/developernotes.rst
r6489 r7823 2 2 *************** 3 3 4 How to setup a developer instance of the WAeUP SIRP, handle tests, docs4 How to setup a developer instance of the WAeUP Kofa, handle tests, docs 5 5 etc. 6 6 7 The new WAeUP SIRPis based on `Grok <http://grok.zope.org/>`_.7 The new WAeUP Kofa is based on `Grok <http://grok.zope.org/>`_. 8 8 9 9 Installing a developer copy … … 15 15 -------------------- 16 16 17 To create a working copy of the WAeUP SIRPwe recommend use of17 To create a working copy of the WAeUP Kofa we recommend use of 18 18 `virtualenv`. You, however, need also some basic libraries, a C 19 19 compiler and some things more. … … 127 127 In the sandbox (or anywhere else) we now create our real working 128 128 environment. To do this, we change to the sandbox and checkout the 129 sources of the WAeUP SIRPfrom the subversion server::129 sources of the WAeUP Kofa from the subversion server:: 130 130 131 131 $ cd mysandbox/ 132 $ svn co https://svn.waeup.org/repos/main/waeup. sirp/trunk waeup-trunk132 $ svn co https://svn.waeup.org/repos/main/waeup.kofa/trunk waeup-trunk 133 133 134 134 where ``waeup-trunk`` is only a name we've chosen here to make clear … … 194 194 ============= 195 195 196 With the :mod:`waeup. sirp` package we try to reach high standards in196 With the :mod:`waeup.kofa` package we try to reach high standards in 197 197 both, documentation and testing. 198 198 199 :mod:`waeup. sirp` makes extensive use of doctests, which this way also199 :mod:`waeup.kofa` makes extensive use of doctests, which this way also 200 200 become both: executable (i.e. testable) examples and documentation. 201 201 … … 206 206 documentation generator to generate the docs as HTML pages. 207 207 208 The documentation of the :mod:`waeup. sirp` project can easily be208 The documentation of the :mod:`waeup.kofa` project can easily be 209 209 created doing:: 210 210 … … 212 212 213 213 This will create a tree of HTML pages in 214 ``parts/waeupdocs/waeup. sirp/build/waeup.sirp/`` which you can for214 ``parts/waeupdocs/waeup.kofa/build/waeup.kofa/`` which you can for 215 215 instance browse by pointing your browser to this location. 216 216 … … 223 223 224 224 means explaining to other developers what your code does and test it 225 at the same time. See the many .txt files in the :mod:`waeup. sirp`225 at the same time. See the many .txt files in the :mod:`waeup.kofa` 226 226 package for examples. 227 227 … … 230 230 ======= 231 231 232 Tests are most important to the reliability of the :mod:`waeup. sirp`232 Tests are most important to the reliability of the :mod:`waeup.kofa` 233 233 package. We don't tell someone that our code works, if we cannot prove 234 234 it. And we prove it by testing. … … 246 246 $ bin/test -c 247 247 248 We have many tests in the :mod:`waeup. sirp` package so that sometimes248 We have many tests in the :mod:`waeup.kofa` package so that sometimes 249 249 you only want the functional *or* the unit tests to run. This can be 250 250 done like this:: … … 277 277 278 278 Most unit tests furthermore declare that they want to be run inside 279 the `WAeUP SIRPUnitTestLayer` defined in `waeup.sirp.testing`. This280 layer groks the whole `waeup. sirp` package, so that all ZCA279 the `WAeUPKofaUnitTestLayer` defined in `waeup.kofa.testing`. This 280 layer groks the whole `waeup.kofa` package, so that all ZCA 281 281 components are already setup when you start your tests. 282 282 … … 284 284 layer, the testfile has to provide the following line:: 285 285 286 .. :layer: waeup. sirp.testing.WAeUPSIRPUnitTestLayer286 .. :layer: waeup.kofa.testing.WAeUPKofaUnitTestLayer 287 287 288 288 Use it, if in your tests you make use of registered components like -
main/waeup.custom/trunk/docs/source/developerdocs/index.rst
r6488 r7823 7 7 developernotes 8 8 api/index 9 german/index -
main/waeup.custom/trunk/docs/source/documentation.rst
r5340 r7823 22 22 23 23 See :ref:`reporting-bugs` for information how to report bugs in 24 `waeup. sirp` itself.24 `waeup.kofa` itself. 25 25 26 26 .. _Sphinx: http://sphinx.org/ -
main/waeup.custom/trunk/docs/source/glossary.rst
r5338 r7823 6 6 .. glossary:: 7 7 8 SIRP8 Kofa 9 9 Student Information and Registration Portal. 10 10 … … 12 12 West African e-University Project. 13 13 14 waeup. sirp14 waeup.kofa 15 15 A Python package explained in this documentation. 16 16 -
main/waeup.custom/trunk/docs/source/index.rst
r5338 r7823 1 .. WAeUP Student Information and Registration Portal ( SIRP) documentation master file, created by1 .. WAeUP Student Information and Registration Portal (Kofa) documentation master file, created by 2 2 sphinx-quickstart on Thu Jul 29 10:41:59 2010. 3 3 You can adapt this file completely to your liking, but it should at least -
main/waeup.custom/trunk/docs/source/license.rst
r5338 r7823 5 5 *********** 6 6 7 `waeup. sirp` is covered by the following license. If that license7 `waeup.kofa` is covered by the following license. If that license 8 8 does not fit your needs and you need a copy of the software licensed 9 9 differently, please contact ``henrik <at> waeup <dot> org``. -
main/waeup.custom/trunk/docs/source/userdocs/buildingdocs.rst
r6619 r7823 4 4 ************************************** 5 5 6 To build the documentation for :mod:`waeup. sirp`, please follow these steps:6 To build the documentation for :mod:`waeup.kofa`, please follow these steps: 7 7 8 8 Prerequisites 9 9 ============= 10 10 11 We assume you already installed `waeup. sirp` as explained in11 We assume you already installed `waeup.kofa` as explained in 12 12 :ref:`installing_linux`. You ran ``bin/buildout`` and can find a script 13 13 ``bin/waeupdocs``. … … 16 16 ================== 17 17 18 After successful install go to the root dir, where `waeup. sirp` is18 After successful install go to the root dir, where `waeup.kofa` is 19 19 located. 20 20
Note: See TracChangeset for help on using the changeset viewer.