Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing chyrp_lite.md #2516

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 16 additions & 13 deletions docs/guides/cms/chyrp_lite.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
title: Chyrp Lite
author: Neel Chauhan
contributors:
contributors: Steven Spencer
tested_with: 9.5
tags:
- cms
- blogging
---

# Chyrp Lite

## Introduction

[Chyrp Lite](https://chyrplite.net/) is an ultra-lightweight blogging engine written in PHP.
Expand Down Expand Up @@ -40,7 +39,7 @@ Subsequently, open the `Caddyfile`:
vi /etc/caddy/Caddyfile
```

Add the following to your Caddyfile:
Add the following to your `Caddyfile`:

```bash
your.domain.name {
Expand All @@ -66,7 +65,11 @@ systemctl enable --now caddy

## Installing PHP

To install PHP, we will need the Remi repository. To install the Remi repository run (note: if you are using Rocky Linux 8.x, substitute in 8 next to `release-` below):
!!! note

If you are running Rocky Linux 8.x, substitute 8 next to the release in the remi package install line.

To install PHP, you will need the Remi repository. To install the Remi repository run:

```bash
dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
Expand All @@ -84,13 +87,13 @@ Next, open the PHP configuration file:
vi /etc/opt/remi/php83/php-fpm.d/www.conf
```

Navigate down to the `listen =` line and set it to the following:
Go down to the `listen =` line and set it to the following:

```bash
listen = 127.0.0.1:9000
```

Now exit `vi` with `:wq!` and enable PHP:
Exit `vi` with `:wq!` and enable PHP:

```bash
systemctl enable --now php83-php-fpm.service
Expand All @@ -105,7 +108,7 @@ cd /var/www
wget https://github.com/xenocrat/chyrp-lite/archive/refs/tags/v2024.03.zip
```

Next, unzip and move the extracted folder:
Next, decompress and move the extracted folder:

```bash
unzip v2024.03.zip
Expand Down Expand Up @@ -134,18 +137,18 @@ restorecon -Rv /var/www/chyrp-lite
restorecon -Rv /var/www/chyrp-lite-data
```

Now on a client machine, open up a web browser to `https://your.domain.name/install.php` and run the installer (replace `your.domain.name` with your actual domain name or hostname):
On a client machine, open up a web browser to `https://your.domain.name/install.php` and run the installation program (replace `your.domain.name` with your actual domain name or hostname):

![Chyrp Lite Setup](../images/chyrp_lite_setup.png)

In the **Database** section, select a pathname in the `chyrp-lite-data` directory made above, such as `/var/www/chyrp-lite-data/sqlite.db`.
In the **Database** section, select a pathname in the `chyrp-lite-data` directory made earlier, such as `/var/www/chyrp-lite-data/sqlite.db`.

Then fill in the other fields, which should be self-explanatory.
Then complete the other fields, which should be self-explanatory.

Next click **Install me** and then **Take me to my site**. Your Chyrp site should be installed and visitable:
Next click **Install me** and then **Take me to my site**. You should now be able to visit a completed installation of your Chyrp site:

![Chyrp Lite](../images/chyrp_lite.png)

## Conclusion

Considering that WordPress has evolved into a swiss army knife of web development, it's not surprising some webmasters (the author included) would prefer a lightweight blogging engine. Chyrp Lite is perfect in for those users.
Considering that WordPress has evolved into a Swiss army knife of web development, it is not surprising some webmasters (the author included) would prefer a lightweight blogging engine. Chyrp Lite is perfect in for those users.