front end, config
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
const path = require('path')
|
||||
|
||||
module.exports = {
|
||||
// environment
|
||||
env: 'development',
|
||||
locale: 'it',
|
||||
|
||||
title: 'Gancio',
|
||||
description: 'Un calendario dei movimenti piemontesi',
|
||||
|
||||
// base url
|
||||
baseurl: 'http://localhost:8080',
|
||||
apiurl: 'http://localhost:9000/api',
|
||||
|
||||
|
||||
// db configuration
|
||||
db: {
|
||||
'storage': path.join(__dirname, '/../db.sqlite'),
|
||||
'dialect': 'sqlite'
|
||||
},
|
||||
admin: 'lesion@autistici.org',
|
||||
|
||||
// email configuration
|
||||
smtp: {
|
||||
host: 'mail.example.com',
|
||||
secure: true,
|
||||
auth: {
|
||||
user: 'user@example.com',
|
||||
pass: 'password'
|
||||
}
|
||||
},
|
||||
|
||||
// jwt secret
|
||||
secret: 'nonosecretsuper'
|
||||
}
|
||||
27
config/config.development.json
Normal file
27
config/config.development.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"env": "development",
|
||||
"locale": "it",
|
||||
|
||||
"title": "Gancio",
|
||||
"description": "Un calendario dei movimenti piemontesi",
|
||||
|
||||
"baseurl": "http://localhost:8080",
|
||||
"apiurl": "http://localhost:9000/api",
|
||||
|
||||
"db": {
|
||||
"storage": "./db.sqlite",
|
||||
"dialect": "sqlite"
|
||||
},
|
||||
"admin": "lesion@autistici.org",
|
||||
|
||||
"smtp": {
|
||||
"host": "mail.example.org",
|
||||
"secure": true,
|
||||
"auth": {
|
||||
"user": "events@example.org",
|
||||
"pass": ""
|
||||
}
|
||||
},
|
||||
|
||||
"secret": "nonosecretsuper"
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
module.exports = {
|
||||
// environment
|
||||
env: 'production',
|
||||
locale: 'en',
|
||||
|
||||
title: 'Put here your site name',
|
||||
description: 'A calendar for radical communities',
|
||||
|
||||
// base url
|
||||
baseurl: 'https://example.com',
|
||||
apiurl: 'https://example.com/api',
|
||||
|
||||
// db configuration
|
||||
db: {
|
||||
},
|
||||
admin: 'admin@example.com',
|
||||
|
||||
// email configuration
|
||||
smtp: {
|
||||
host: 'mail.example.com',
|
||||
secure: true,
|
||||
auth: {
|
||||
user: 'admin@example.com',
|
||||
pass: ''
|
||||
}
|
||||
},
|
||||
|
||||
// jwt secret
|
||||
secret: 'randomstringhere'
|
||||
}
|
||||
25
config/config.production.json
Normal file
25
config/config.production.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"env": "production",
|
||||
"locale": "en",
|
||||
|
||||
"title": "Put here your site name",
|
||||
"description": "A calendar for radical communities",
|
||||
|
||||
"baseurl": "https://example.com",
|
||||
"apiurl": "https://example.com/api",
|
||||
|
||||
"db": {
|
||||
},
|
||||
"admin": "admin@example.com",
|
||||
|
||||
"smtp": {
|
||||
"host": "mail.example.com",
|
||||
"secure":"true",
|
||||
"auth": {
|
||||
"user": "admin@example.com",
|
||||
"pass": ""
|
||||
}
|
||||
},
|
||||
|
||||
"secret": "randomstringhere"
|
||||
}
|
||||
Reference in New Issue
Block a user