This repository has been archived by the owner on Jan 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
development.ini.example
60 lines (48 loc) · 1.79 KB
/
development.ini.example
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
50
51
52
53
54
55
56
57
58
59
60
[app:main]
use = egg:cnx-authoring
session_key = 'seekret'
webview.url = http://cnx.org/
archive.url = http://archive.cnx.org/
publishing.url = http://localhost:6543/
publishing.api_key = b07
cors.access_control_allow_credentials = true
cors.access_control_allow_origin = http://localhost:8000 http://localhost:8080
cors.access_control_allow_headers = Origin, Content-Type
cors.access_control_allow_methods = GET, OPTIONS, PUT, POST, DELETE
postgresql.db-connection-string = dbname=authoring user=cnxauthoring password=cnxauthoring
default-license-url = http://creativecommons.org/licenses/by/4.0/
current-license-urls =
http://creativecommons.org/licenses/by/4.0/
http://creativecommons.org/licenses/by-nc-sa/4.0/
# size limit of file upload in MB
authoring.file_upload.limit = 50
# set stub to false when using a real accounts instance
openstax_accounts.stub = true
openstax_accounts.stub.users =
charrose,charrose
frahablar,frahablar
impicky,impicky
marknewlyn,marknewlyn
ream,ream
rings,rings
sarblyth,sarblyth
# the next 3 lines need to be set when using a real accounts instance
#openstax_accounts.server_url = https://localhost:3000/
#openstax_accounts.application_id = a86119f2635afb0c2f1b89fc914e65e09688451168b639a18fd054f2e4b15670
#openstax_accounts.application_secret = 9bbe5046b799ce150218417493cfb014894b43c07a184ad990dd607ed92b63bb
openstax_accounts.application_url = http://localhost:8080/
openstax_accounts.login_path = /login
openstax_accounts.callback_path = /callback
openstax_accounts.logout_path = /logout
openstax_accounts.user_search.per_page = 100
pyramid.includes =
pyramid_sawing
pyramid_sawing.file = %(here)s/logging.yaml
pyramid_sawing.transit_logging.enabled? = yes
###
# wsgi server configuration
###
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 8080