From bfe708d48f603998a1f2c4cad4a6f9f8683dc18f Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Fri, 12 May 2023 16:54:06 +0100 Subject: Migrate to Typescript --- config/api-example.js | 8 -------- config/database-docker.js | 3 --- config/database-example.js | 3 --- config/domain-example.js | 13 ------------- config/gathio.service | 13 ------------- 5 files changed, 40 deletions(-) delete mode 100644 config/api-example.js delete mode 100644 config/database-docker.js delete mode 100644 config/database-example.js delete mode 100644 config/domain-example.js delete mode 100644 config/gathio.service (limited to 'config') diff --git a/config/api-example.js b/config/api-example.js deleted file mode 100644 index 9202f0a..0000000 --- a/config/api-example.js +++ /dev/null @@ -1,8 +0,0 @@ -// Which of these fields are used depends on the 'mailService' config entry in config/domain.js -module.exports = { - 'sendgrid' : '', // If using SendGrid, the Sendgrid API key goes here - 'smtpServer': '', // If using Nodemailer, your SMTP server hostname goes here - 'smtpPort': '', // If using Nodemailer, your SMTP server port goes here - 'smtpUsername': '', // If using Nodemailer, your SMTP server username goes here - 'smtpPassword': '' // If using Nodemailer, your SMTP password goes here -}; diff --git a/config/database-docker.js b/config/database-docker.js deleted file mode 100644 index 7847097..0000000 --- a/config/database-docker.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - 'url' : 'mongodb://mongo:27017/gathio' // For dockerised MongoDB connection -}; diff --git a/config/database-example.js b/config/database-example.js deleted file mode 100644 index 4aa4c4d..0000000 --- a/config/database-example.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - 'url' : 'mongodb://localhost:27017/gathio' // For local MongoDB connection -}; diff --git a/config/domain-example.js b/config/domain-example.js deleted file mode 100644 index 19c797a..0000000 --- a/config/domain-example.js +++ /dev/null @@ -1,13 +0,0 @@ -module.exports = { - // Your domain goes here. If there is a port it should be 'domain:port', but otherwise just 'domain' - 'domain' : 'localhost:3000' , - 'port': '3000', - 'email': 'contact@example.com', - 'mailService': 'nodemailer', // Which mail service to use to send emails to attendees. Options are 'nodemailer' or 'sendgrid'. Configure settings for the mail service in config/api.js.z - 'sitename': 'gathio', - 'isFederated': true, - // If left blank, this defaults to https://yourdomain.com/images/gathio-email-logo.gif. Set a full URL here to change it to your own logo (or just change the file itself) - 'logo_url': '', - // Show a Ko-Fi box to donate money to Raphael Kabo (Gathio's creator) on the front page - 'showKofi': false, -}; diff --git a/config/gathio.service b/config/gathio.service deleted file mode 100644 index 447d44f..0000000 --- a/config/gathio.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=GathIO -After=network.target - -[Service] -Type=simple -User=gathio -WorkingDirectory=/srv/gathio -ExecStart=/usr/bin/npm start -Restart=on-failure - -[Install] -WantedBy=multi-user.target -- cgit v1.2.3