front end, config

This commit is contained in:
lesion
2019-02-26 01:17:52 +01:00
parent 887157f2a9
commit bae404f422
58 changed files with 12862 additions and 157 deletions

View File

@@ -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'
}

View 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"
}

View File

@@ -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'
}

View 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"
}