From 38b0e2b5c36fc571f43011ab8e49c499cfa149a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?wxcaf=C3=A9?= Date: Fri, 3 Jan 2020 15:38:03 -0500 Subject: Adds a systemd service file --- config/gathio.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 config/gathio.service (limited to 'config') diff --git a/config/gathio.service b/config/gathio.service new file mode 100644 index 0000000..447d44f --- /dev/null +++ b/config/gathio.service @@ -0,0 +1,13 @@ +[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 From e212c731dd0348434586de8fdbdad383d3072fae Mon Sep 17 00:00:00 2001 From: Darius Kazemi Date: Sat, 4 Jan 2020 13:33:35 -0800 Subject: Email refactoring Tons of refactoring of email. This no longer uses Sendgrid templates and now uses source-controlled handlebars files in the `views/emails/` directory. This means that email messages are now source-controlled and vastly reduces the sendgrid setup process. This also adds a new file, `domain-example.js`, in the config directory, which stores things like the site name, base URL, port, etc. This should be renamed to `domain.js`, in keeping with the other configuration files. --- config/domain-example.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 config/domain-example.js (limited to 'config') diff --git a/config/domain-example.js b/config/domain-example.js new file mode 100644 index 0000000..3b77197 --- /dev/null +++ b/config/domain-example.js @@ -0,0 +1,7 @@ +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', + 'sitename': 'gathio' +}; -- cgit v1.2.3