This repository has been archived by the owner on Oct 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
55 lines (45 loc) · 1.41 KB
/
app.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
var path = require('path');
var apos = require('apostrophe')({
shortName: 'apos-issue-demo',
// See lib/modules for basic project-level configuration of our modules
// responsible for serving static assets, managing page templates and
// configuring user accounts.
modules: {
// Apostrophe module configuration
// Note: most configuration occurs in the respective
// modules' directories. See lib/apostrophe-assets/index.js for an example.
// However any modules that are not present by default in Apostrophe must at
// least have a minimal configuration here: `moduleName: {}`
// If a template is not found somewhere else, serve it from the top-level
// `views/` folder of the project
'apostrophe-templates': { viewsFolderFallback: path.join(__dirname, 'views') },
'apostrophe-workflow': {
prefixes: true,
locales: [
{
name: 'default',
label: 'Default',
private: true,
children: [
{
name: 'en',
label: 'England'
},
{
name: 'fr',
label: 'France'
}
]
},
],
defaultLocale: 'en',
// IMPORTANT: if you follow the examples below,
// be sure to set this
alias: 'workflow'
},
'locations': {},
'locations-pages': {},
'news': {},
'news-pages': {},
}
});