From 9e66dac558cf2f73c6f040a1a7df4e7bf67e302d Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sun, 10 Jul 2022 11:20:56 +0430 Subject: updated the readme --- .eslintrc.js | 13 +++++++++++++ README.md | 5 ++++- model.js | 1 + 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .eslintrc.js diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..fbf4784 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,13 @@ +module.exports = { + "env": { + "commonjs": true, + "es2021": true, + "node": true + }, + "extends": "eslint:recommended", + "parserOptions": { + "ecmaVersion": "latest" + }, + "rules": { + } +} diff --git a/README.md b/README.md index c118311..a343c7b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ [![Codacy Badge](https://app.codacy.com/project/badge/Grade/fd49b1a14156479492bf414fdde868bd)](https://www.codacy.com/gh/terminaldweller/web/dashboard?utm_source=github.com&utm_medium=referral&utm_content=terminaldweller/web&utm_campaign=Badge_Grade) -# web +# blog +It's the source code for my blog.
+You find the live instance [here](https://blog.terminaldweller.com)
+You also can use the RSS feed to get notified of when there are no posts.
diff --git a/model.js b/model.js index dde3913..207b62b 100644 --- a/model.js +++ b/model.js @@ -38,6 +38,7 @@ function dbInit() { }); } +// only used for testing, otherwise unused function populateDB(model) { let filePaths = fs.readdirSync(path.join(__dirname, "mds")); filePaths.forEach((fileName) => { -- cgit v1.2.3