mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 10:51:36 +01:00
Update README, row level policies for collaborators and articles and fix minor issues
This commit is contained in:
@@ -143,15 +143,24 @@ BEGIN
|
||||
|
||||
INSERT INTO internal.home (website_id, main_content)
|
||||
VALUES
|
||||
(_website_id, '## Main content comes in here');
|
||||
(_website_id, '
|
||||
## About
|
||||
|
||||
INSERT INTO internal.article (website_id, user_id, title, meta_description, meta_author, main_content)
|
||||
VALUES
|
||||
(_website_id, _user_id, 'First article', 'This is the first sample article', 'Author Name', '## First article'),
|
||||
(_website_id, _user_id, 'Second article', 'This is the second sample article', 'Author Name', '## Second article');
|
||||
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.
|
||||
|
||||
## 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.
|
||||
|
||||
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 `<user_id>/<website_id>`, which is dynamically created by the web application.
|
||||
');
|
||||
|
||||
INSERT INTO internal.footer (website_id, additional_text)
|
||||
VALUES (_website_id, 'This website was created with archtika');
|
||||
VALUES (_website_id, 'archtika is a free, open, modern, performant and lightweight CMS');
|
||||
|
||||
website_id := _website_id;
|
||||
END;
|
||||
|
||||
Reference in New Issue
Block a user