-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlocal.example.js
More file actions
81 lines (81 loc) · 2.57 KB
/
Copy pathlocal.example.js
File metadata and controls
81 lines (81 loc) · 2.57 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// Settings specific to this server. Change the URL
// if you are deploying in production.
module.exports = {
baseUrl: 'http://localhost:3000',
modules: {
// Minify Html
'apostrophe-templates': {
// minify: (process.env.NODE_ENV === 'prod')
},
// Minify Assets
'apostrophe-assets': {
// minify: (process.env.NODE_ENV === 'prod')
},
// Set a Secre for your Session
// https://docs.apostrophecms.org/howtos/storing-sessions-in-redis.html#what-about-caches
'apostrophe-express': {
// session: {
// secret: 'YOUR_SECRET'
// }
// Touse other port than 3000
// port: 3001
},
// Internationalization
'apostrophe-i18n': {
// locales: ['en', 'de'],
// defaultLocale: 'en',
// cookie: 'material-cms.locale',
// updateFiles: true
},
// Multilingual content handling
'apostrophe-i18n-content': {
// API-first architecture - translations delivered via secure endpoints
// No configuration required for basic operation
},
// Email Settings for nodemailer
'apostrophe-email': {
// nodemailer: {
// host: 'SMTP_SERVER', // or use: process.env.SMTP_SERVER
// port: 587,
// secure: false,
// auth: {
// user: 'SMTP_USER', // or use: process.env.SMTP_USER
// pass: 'SMTP_PW' // or use: process.env.SMTP_PW
// }
// }
},
// Apostrophe has full-text search capabilities built set searched pages here
// https://docs.apostrophecms.org/core-concepts/apostrophe-search/search.html
'apostrophe-search': {
// types: [
// 'home'
// ]
},
// Add parked page for search functions. Parked pages
// configures certain pages to be automatically created
// and refreshed whenever the site starts up.
'apostrophe-pages': {
// park: [
// {
// title: 'Search',
// slug: '/search',
// type: 'apostrophe-search',
// label: 'Search',
// published: true
// }
// ]
},
// If these are your db settings then you don't need to be explicit. If not
// you can uncomment this and get more specific.
'apostrophe-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
},
// DB performance test tool
// remove in production
'apostrophe-profiler': {
}
}
};