From bed54857cc78eca4611b00586973540bcc78803a Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Sat, 5 Aug 2023 21:13:59 +0100 Subject: Update README --- README.md | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index db896d2..798bf54 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Website -This repository hosts the source code which (eventually) powers my website: https://leonardobishop.com/ +This repository hosts the source code which runs my website: https://leonardobishop.com/ -The app is written in TypeScript and runs on NodeJS using [Express](https://www.npmjs.com/package/express), rendering web pages with [ejs](https://www.npmjs.com/package/ejs). It parses content pages written in a markup language (currently [Wikitext](https://en.wikipedia.org/wiki/Help:Wikitext)) from the `pages/` directory and renders them as HTML. +The app is written in TypeScript and runs on NodeJS using [Express](https://www.npmjs.com/package/express), rendering web pages with [ejs](https://www.npmjs.com/package/ejs). It parses content pages written in Markdown from the `pages/` directory and renders them as HTML. ## Building and running Instructions to build and deploy the web app will be written here whenever it is finished. @@ -18,21 +18,6 @@ $ npm i -g typescript $ npm ci --only-production $ tsc && node build/index.js ``` - -The application will be listening on port 3000. - -## Caveats -This website is essentially built like a wiki system, though there are some drawbacks with this compared to actual wiki software, considering this is a highly specific use case of it. In no particular order: -* re-rendering pages are a pain after edits -* files are read from /static/image rather than /pages/file (which breaks the point of the entire namespace system) -* ~~templates can't transclude other templates~~ (✅ fixed [144fec4](https://github.com/LMBishop/website/commit/144fec46aff02621d53fa1a101d879adaaf6126d)) -* ~~the Template namespace is the only transcludable namespace~~ (✅ fixed [144fec4](https://github.com/LMBishop/website/commit/144fec46aff02621d53fa1a101d879adaaf6126d)) -* ~~circular dependencies cause infinite recursion~~ (✅ fixed [951984f](https://github.com/LMBishop/website/commit/951984fb55d552d9c816a30069e2321f3602d305)) -* code is a bit wack in places -* I'm never happy with the visual design -* I don't actually know what to fill this website with -* I've written this list both on the website itself and in this readme so I will have to update it twice (and will likely forget one of them) - ## License The **source code** for this project is licensed under the [ISC License](https://github.com/LMBishop/website/blob/master/LICENSE.txt). You can read the full license text in the [LICENSE.txt](https://github.com/LMBishop/website/blob/master/LICENSE.txt) file. -- cgit v1.2.3-70-g09d2