https://github.com/mbuesch/cms
Simple Content Management System for websites
https://github.com/mbuesch/cms
cms content-management-system rust website
Last synced: 12 months ago
JSON representation
Simple Content Management System for websites
- Host: GitHub
- URL: https://github.com/mbuesch/cms
- Owner: mbuesch
- License: apache-2.0
- Created: 2013-07-30T12:53:24.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2025-06-27T16:24:39.000Z (about 1 year ago)
- Last Synced: 2025-07-15T02:46:51.966Z (12 months ago)
- Topics: cms, content-management-system, rust, website
- Language: Rust
- Homepage: http://bues.ch/
- Size: 717 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Simple Rust based CMS
Copyright (c) 2011-2024 Michael Buesch
## Building
Run the `build.sh` script to build the CMS system.
The build requires the `cargo-audit` and `cargo-auditable` Rust crates installed:
```sh
cargo install cargo-audit cargo-auditable
```
After installing all build dependencies, run the build script:
```sh
./build.sh
```
## Installing
After building, run the `create-users.sh` script to create the user/group structure for CMS in the operating system:
```sh
./create-users.sh
```
After that, run the `install.sh` script.
It will install the CMS system into `/opt/cms/`.
```sh
./install.sh
```
Then create the database inside of `/opt/cms/etc/cms/db/`.
You may start with the example db:
```sh
cp -r ./example/db/* /opt/cms/etc/cms/db/
```
## Configuring Apache httpd
Configure the CMS CGI binary as CGI `ScriptAlias`:
```
ScriptAlias /cms /opt/cms/libexec/cms-cgi/cms.cgi
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch -Indexes
Require all granted
# Redirect all 404 to the CMS 404 handler (optional)
ErrorDocument 404 /cms/__nopage/__nogroup.html
```