From 53d1ef06f1a6539ddcf790ceb60d28c870ae23db Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:29:14 +0100 Subject: [PATCH 1/2] Add website and update descriptions --- README.md | 10 ++--- nix/package.nix | 7 ++-- web-app/src/routes/+layout.svelte | 2 +- website/archtika-logo-512x512.svg | 69 +++++++++++++++++++++++++++++++ website/index.html | 24 +++++++++++ 5 files changed, 100 insertions(+), 12 deletions(-) create mode 100644 website/archtika-logo-512x512.svg create mode 100644 website/index.html diff --git a/README.md b/README.md index 5b33186..3eccfc1 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,15 @@ ## About -archtika is a FLOSS, modern, performant and lightweight CMS (Content Mangement System) in the form of a web application. It allows you to easily create, manage and publish minimal, responsive and SEO friendly blogging and documentation websites with official, professionally designed templates. - -It is also possible to add contributors to your sites, which is very useful for larger projects where, for example, several people are constantly working on the documentation. +archtika is a FLOSS, modern, performant, lightweight and self-hosted CMS (Content Mangement System) in the form of a web application. It allows you to easily create, manage and publish minimal, responsive and SEO friendly blogging and documentation websites using the templates provided. Contributors can also be added to a website, allowing multiple people to work on a project. ## How it works For the backend, PostgreSQL is used in combination with PostgREST to create a RESTful API. JSON web tokens along with row-level security control authentication and authorisation flows. -The web application uses SvelteKit with SSR (Server Side Rendering) and Svelte version 5, currently in beta. +The web application uses SvelteKit with SSR (Server Side Rendering) and Svelte version 5. -NGINX is used to deploy the websites, serving the static site files from the `/var/www/archtika-websites` directory. The static files can be found in this directory via the path `/`, which is dynamically created by the web application. +NGINX is used to deploy the websites, serving the static website files from the `/var/www/archtika-websites` directory. The website files are generated and written to this directory by the web application on the server side for preview and publishing. ## Virtual machine for local development @@ -32,5 +30,3 @@ sudo chown $USER:$(id -gn) /var/www/archtika-websites ```bash nix run .#dev-vm ``` - -For production, a separate `node` user can be created to run the systemd service for the node process; this user would have only the essential permissions to maintain the principle of least privilege. diff --git a/nix/package.nix b/nix/package.nix index 333df77..e3543e2 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -7,9 +7,6 @@ }: let - pname = "archtika"; - version = "1.0.0"; - web = buildNpmPackage { name = "web-app"; src = ../web-app; @@ -35,7 +32,9 @@ let }; in symlinkJoin { - name = pname; + pname = "archtika"; + version = "1.0.0"; + paths = [ web api diff --git a/web-app/src/routes/+layout.svelte b/web-app/src/routes/+layout.svelte index 05597ef..8aec5aa 100644 --- a/web-app/src/routes/+layout.svelte +++ b/web-app/src/routes/+layout.svelte @@ -38,7 +38,7 @@ archtika | {routeName.replaceAll("/", " - ")} diff --git a/website/archtika-logo-512x512.svg b/website/archtika-logo-512x512.svg new file mode 100644 index 0000000..246365a --- /dev/null +++ b/website/archtika-logo-512x512.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website/index.html b/website/index.html new file mode 100644 index 0000000..db54602 --- /dev/null +++ b/website/index.html @@ -0,0 +1,24 @@ + + + + + + + + archtika CMS + + + +
+

archtika

+

FLOSS, modern, performant, lightweight and self‑hosted CMS

+ +
+ + \ No newline at end of file From 49c4aeb2280d904547eb71742d4e28ecea11bd93 Mon Sep 17 00:00:00 2001 From: Thilo Hohlt Date: Thu, 12 Dec 2024 17:39:41 +0100 Subject: [PATCH 2/2] Update package.nix --- nix/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/package.nix b/nix/package.nix index e3543e2..1ce2b71 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -32,6 +32,7 @@ let }; in symlinkJoin { + name = "archtika"; pname = "archtika"; version = "1.0.0";