Changeset 5495
- Timestamp:
- 25 Aug 2010, 00:32:07 (14 years ago)
- Location:
- main/waeup.sirp/trunk
- Files:
-
- 4 edited
- 7 copied
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk
- Property svn:ignore
-
old new 3 3 parts 4 4 .installed.cfg 5 var
-
- Property svn:ignore
-
main/waeup.sirp/trunk/README.txt
r5329 r5495 77 77 You can start Zope with the with the following command: 78 78 79 $ bin/zopectl fg 79 $ bin/sirpctl fg 80 81 Alternatively you can do: 82 83 $ bin/paster serve parts/etc/deploy.ini 80 84 81 85 If you now connect to port 8080 and log in with username 'grok', -
main/waeup.sirp/trunk/buildout.cfg
r5433 r5495 1 1 [buildout] 2 2 develop = . 3 parts = app data zopectl i18n test waeupdocs coverage-detect coverage-report 4 #find-links = http://download.zope.org/distribution/ 5 #newest = false 6 #extends= http://grok.zope.org/releaseinfo/grok-1.0.cfg 3 parts = 4 eggbasket 5 app 6 i18n 7 test 8 mkdirs 9 zpasswd 10 zope_conf 11 site_zcml 12 zdaemon_conf 13 deploy_ini 14 debug_ini 15 waeupdocs 16 coverage-detect 17 coverage-report 18 # For backward compatibility, telling buildout not to throw away 19 # the data and log subdirectories from the parts directory. 20 data 21 log 22 newest = false 23 24 #extends = versions.cfg 7 25 extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg 8 #extends = http://svn.zope.org/*checkout*/groktoolkit/trunk/grok.cfg 26 # eggs will be installed in the default buildout location 27 # (see .buildout/default.cfg in your home directory) 28 # unless you specify an eggs-directory option here. 29 9 30 versions = versions 10 31 … … 21 42 lovely.recipe = 1.0.0 # Pinned to prevent buildout svn-error. 22 43 44 23 45 [app] 24 recipe = zc. zope3recipes>=0.5.3:application46 recipe = zc.recipe.egg 25 47 eggs = waeup.sirp 26 site.zcml = <include package="waeup.sirp" /> 27 <include package="zope.app.twisted" /> 28 <configure i18n_domain="waeup.sirp"> 29 <unauthenticatedPrincipal id="zope.anybody" 30 title="Unauthenticated User" /> 31 <unauthenticatedGroup id="zope.Anybody" 32 title="Unauthenticated Users" /> 33 <authenticatedGroup id="zope.Authenticated" 34 title="Authenticated Users" /> 35 <everybodyGroup id="zope.Everybody" 36 title="All Users" /> 37 <principal id="zope.manager" 38 title="Manager" 39 login="grok" 40 password_manager="Plain Text" 41 password="grok" 42 /> 48 z3c.evalexception>=2.0 49 Paste 50 PasteScript 51 PasteDeploy 52 interpreter = python-console 43 53 44 <grant permission="zope.View" 45 principal="zope.Authenticated" /> 46 <grant permission="zope.app.dublincore.view" 47 principal="zope.Authenticated" /> 54 [mkdirs] 55 recipe = z3c.recipe.mkdir 56 paths = 57 ${zope_conf:filestorage} 58 ${zope_conf:logfiles} 59 ${zope_conf:blobstorage} 48 60 49 <!-- Replace the following directive if you don't want 50 public access --> 51 <grant permission="zope.View" 52 principal="zope.Anybody" /> 53 <grant permission="zope.app.dublincore.view" 54 principal="zope.Anybody" /> 61 [test] 62 recipe = zc.recipe.testrunner 63 eggs = waeup.sirp 64 defaults = ['--tests-pattern', '^f?tests$', '-v'] 55 65 56 <grant permission="waeup.Public" 57 principal="zope.Everybody" /> 58 <grant permission="waeup.Anonymous" 59 principal="zope.Anybody" /> 66 # this section named so that the i18n scripts are called bin/i18n... 67 [i18n] 68 recipe = z3c.recipe.i18n:i18n 69 packages = waeup.sirp 70 eggs = waeup.sirp 71 domain = waeup.sirp 72 output = src/waeup/sirp/locales 73 zcml = 60 74 61 <role id="zope.Manager" title="Site Manager" /> 62 <role id="zope.Member" title="Site Member" /> 63 <grantAll role="zope.Manager" /> 64 <grant role="zope.Manager" 65 principal="zope.manager" /> 66 </configure> 75 # This section is named so that the zpasswd utility is 76 # called `zpasswd` 77 [zpasswd] 78 recipe = z3c.recipe.dev:script 79 eggs = waeup.sirp 80 module = zope.app.server.zpasswd 81 method = main 67 82 83 [zope_conf] 84 recipe = collective.recipe.template 85 input = etc/zope.conf.in 86 output = ${buildout:parts-directory}/etc/zope.conf 87 filestorage = ${buildout:directory}/var/filestorage 88 blobstorage = ${buildout:directory}/var/blobstorage 89 logfiles = ${buildout:directory}/var/log 90 extra = 91 # extra = <grokwarnings>True</grokwarnings> 92 # 'extra' is copied verbatim. Use it for product config sections and so. 93 94 # The [data] and [log] parts are still in here to instruct buildout to not 95 # unintentionally throw away the parts/data and parts/log subdirectories 96 # that contain the Data.fs and the log files. These files should be 97 # copied to the new locations. See the upgrade notes for more information. 68 98 [data] 69 99 recipe = zc.recipe.filestorage 70 100 71 # this section named so that the start/stop script is called bin/zopectl 72 [zopectl] 73 recipe = zc.zope3recipes:instance 74 application = app 75 zope.conf = ${data:zconfig} 101 [log] 102 recipe = zc.recipe.filestorage 76 103 77 [test] 78 recipe = zc.recipe.testrunner 79 eggs = waeup.sirp [test] 80 defaults = ['--tests-pattern', '^f?tests$', '-v'] 104 [site_zcml] 105 recipe = collective.recipe.template 106 input = etc/site.zcml.in 107 output = ${buildout:parts-directory}/etc/site.zcml 108 109 [zdaemon_conf] 110 recipe = collective.recipe.template 111 input = etc/zdaemon.conf.in 112 output = ${buildout:parts-directory}/etc/zdaemon.conf 113 114 [deploy_ini] 115 recipe = collective.recipe.template 116 input = etc/deploy.ini.in 117 output = ${buildout:parts-directory}/etc/deploy.ini 118 119 [debug_ini] 120 recipe = collective.recipe.template 121 input = etc/debug.ini.in 122 output = ${buildout:parts-directory}/etc/debug.ini 123 124 [eggbasket] 125 recipe = z3c.recipe.eggbasket 126 eggs = grok 127 url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz 128 129 [waeupdocs] 130 recipe = collective.recipe.sphinxbuilder 131 eggs = waeup.sirp 132 source = ${buildout:directory}/docs/source 133 build = ${buildout:directory}/docs/build 81 134 82 135 # Collect test coverage data. … … 94 147 scripts = coveragereport 95 148 arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report') 96 97 98 99 # this section named so that the i18n scripts are called bin/i18n...100 [i18n]101 recipe = lovely.recipe:i18n102 package = waeup.sirp103 domain = waeup.sirp104 location = src/waeup/sirp105 output = locales106 107 [waeupdocs]108 recipe = collective.recipe.sphinxbuilder109 eggs = waeup.sirp110 source = ${buildout:directory}/docs/source111 build = ${buildout:directory}/docs/build -
main/waeup.sirp/trunk/setup.py
r5328 r5495 7 7 'setuptools', 8 8 'grok', 9 'grokcore.startup', 9 10 'grokui.admin', 10 11 'hurry.query', … … 81 82 entry_points=""" 82 83 # Add entry points here 84 [console_scripts] 85 sirp-debug = grokcore.startup:interactive_debug_prompt 86 sirpctl = grokcore.startup:zdaemon_controller 87 [paste.app_factory] 88 main = grokcore.startup:application_factory 89 debug = grokcore.startup:debug_application_factory 90 83 91 """, 84 92 )
Note: See TracChangeset for help on using the changeset viewer.