-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal.example.js
61 lines (50 loc) · 2.33 KB
/
local.example.js
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
// Settings specific to this server. Everything you put here
// is merged with the object you pass when configuring
// `apostrophe-site` in app.js.
module.exports = {
// Absolute URL is only necessary with s3
// uploadsUrl: '/uploads',
// 'locals' are visible to nunjucks templates
locals: {
// Warning not to edit content with an expectation of keeping it on this server, for staging servers
doNotEdit: false,
// offline: true means the site should work with no external
// websites available, not even google fonts or google maps. This
// doesn't miraculously make those things work locally, it just
// stops loading them so you can debug other things while offline.
offline: false,
// demo: true means features that don't look polished yet shouldn't
// be activated. Also shows the Apostrophe bar and login link at all times
demo: false,
// Show the Apostrophe admin bar and login button at all times.
// You'll probably want to change this to `false` later and create
// your own suitably styled links to `/login` if desired
loginButton: true
},
// Want Twitter widgets to work? Go to dev.twitter.com and create an "app", then
// pop the key and secret here.
// This follows the same format as the modules we declare in app.js. You would
// do it here in order to keep sensitive data like keys and secrets out of your git repo.
// Note: if you plan on using twitter, don't forget to include the apostrophe-twitter module
// in app.js!
modules: {
// 'apostrophe-twitter': {
// consumerKey: 'xxxx',
// consumerSecret: 'yyyy',
// // Click "Create my access token" on dev.twitter.com to generate these.
// // You may need to refresh the page before the token actually appears there.
// accessToken: 'zzzz',
// accessTokenSecret: 'aaaa'
// },
},
// Set to true for full CSS and JS minify, on staging and production servers
minify: false,
// If these are your db settings then you don't need to be explicit. If not
// you can uncomment this and get more specific.
db: {
// uri: 'mongodb://localhost:27017/apostrophe-sandbox'
// There is legacy support for host, port, name, user and password options,
// but this is not necessary. They can all go in the uri option like this:
// mongodb://user:password@host:port/dbname
}
};