An intuitive UI for managing data, for users of all technical skill levels. Built on Postgres.
Mathesar code • Website • Docs • Matrix (chat) • Wiki
This repository is a Jekyll website that powers https://mathesar.org. It is hosted on GitHub Pages.
Table of Contents
- Install Jekyll (ensure you also install
bundler
) - From repo root directory, run
bundle install
- From repo root directory, run
npm install
-
Run:
bundle exec jekyll serve --port 4000 --livereload
-
Browse to http://localhost:4000/
To publish a new post on the Mathesar blog, follow these steps.
-
Create a new Markdown file in the
_posts
directory. The file name should follow this format:YYYY-MM-DD-title-of-the-post.md
. -
Fill out the front matter for your post. At the beginning of your Markdown file, include the following:
--- layout: post title: "Title of Your Post" tags: tag1 tag2 tag3 date: YYYY-MM-DD author: author_id description: "Brief description of the post." image: /path/to/featured/image.jpg ---
-
Write your blog post. After the front matter, use regular Markdown syntax to write your post.
If author_id does not exist in _data/authors.yml
:
-
Add author details to
_data/authors.yml
. If your author ID does not exist, create a new entry with your details.your_author_id: name: Author Name role: Author Role bio: > "A brief bio about the author. This can be a few sentences long." image: /path/to/your/image.jpg
If you've added new tags:
-
Run the tag generator script. From the root directory, execute:
python scripts/tag_generator.py
This will generate pages for the new tags.
If you've added yourself as a new author:
-
Run the author generator script. From the root directory, execute:
python scripts/author_generator.py
This will generate a page for your author profile.
Remember to run the above scripts if you're introducing new tags or authors to ensure the website accurately reflects these changes.