diff options
author | terminaldweller <thabogre@gmail.com> | 2022-07-10 06:50:56 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-07-10 06:50:56 +0000 |
commit | 9e66dac558cf2f73c6f040a1a7df4e7bf67e302d (patch) | |
tree | 057d7b662dd7ad7e9108dc232b4a2b7619f4c4d6 | |
parent | Merge branch 'rss' (diff) | |
download | blog-9e66dac558cf2f73c6f040a1a7df4e7bf67e302d.tar.gz blog-9e66dac558cf2f73c6f040a1a7df4e7bf67e302d.zip |
updated the readme
-rw-r--r-- | .eslintrc.js | 13 | ||||
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | model.js | 1 |
3 files changed, 18 insertions, 1 deletions
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": { + } +} @@ -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.<br/> +You find the live instance [here](https://blog.terminaldweller.com)<br/> +You also can use the RSS feed to get notified of when there are no posts.<br/> @@ -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) => { |