-
-
Notifications
You must be signed in to change notification settings - Fork 79
/
site.cfg
49 lines (42 loc) · 1.25 KB
/
site.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[buildout]
extensions = mr.developer
extends = buildout.cfg
eggs += plone.restapi
auto-checkout = plone.restapi
parts = instance plonesite
[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 8080
eggs =
Plone
plone.restapi
collective.folderishtypes [dexterity]
zcml-additional =
<configure xmlns="http://namespaces.zope.org/zope"
xmlns:plone="http://namespaces.plone.org/plone">
<plone:CORSPolicy
allow_origin="http://localhost:4300,http://127.0.0.1:4300,http://localhost:3000,http://127.0.0.1:3000"
allow_methods="DELETE,GET,OPTIONS,PATCH,POST,PUT"
allow_credentials="true"
expose_headers="Content-Length,X-My-Header"
allow_headers="Accept,Authorization,Content-Type,X-Custom-Header,Lock-Token"
max_age="3600"
/>
</configure>
[plonesite]
recipe = collective.recipe.plonesite
site-id = Plone
instance = instance
profiles-initial = Products.CMFPlone:dependencies
profiles =
plonetheme.barceloneta:default
plone.app.contenttypes:plone-content
plone.restapi:default
plone.app.mosaic:default
collective.folderishtypes.dx:default
upgrade-portal = False
upgrade-all-profiles = False
site-replace = True
[sources]
plone.restapi = git git://github.com/plone/plone.restapi.git