Project home: https://bues.ch Original repository at: https://git.bues.ch/git/cms.git https://bues.ch

Michael Buesch 34404460b8 Relicense all Rust code under Apache2/MIT пре 4 месеци
cms ff017d95a7 fsd: No hard error on ident validation failure пре 4 месеци
cms-backd 34404460b8 Relicense all Rust code under Apache2/MIT пре 4 месеци
cms-cgi 34404460b8 Relicense all Rust code under Apache2/MIT пре 4 месеци
cms-fsd 34404460b8 Relicense all Rust code under Apache2/MIT пре 4 месеци
cms-ident 34404460b8 Relicense all Rust code under Apache2/MIT пре 4 месеци
cms-postd 34404460b8 Relicense all Rust code under Apache2/MIT пре 4 месеци
cms-seccomp 34404460b8 Relicense all Rust code under Apache2/MIT пре 4 месеци
cms-socket 34404460b8 Relicense all Rust code under Apache2/MIT пре 4 месеци
cms-socket-back 34404460b8 Relicense all Rust code under Apache2/MIT пре 4 месеци
cms-socket-db 34404460b8 Relicense all Rust code under Apache2/MIT пре 4 месеци
cms-socket-post 34404460b8 Relicense all Rust code under Apache2/MIT пре 4 месеци
cms-systemd 34404460b8 Relicense all Rust code under Apache2/MIT пре 4 месеци
cmsbackpy ea714e3cae backd: Add systemd files пре 5 месеци
example e8bfefa257 example: Update AUTOIMG пре 4 месеци
submodules da4d696699 Update submodule 'multipart' пре 1 година
test c35d65ff18 install: Add support for installing debug target пре 4 месеци
.gitignore dacf434427 Add Cargo.lock to the repository пре 5 месеци
.gitmodules 9b65e4fc50 Remove usage of cgi module пре 2 година
Cargo.lock e3f15a759a back: Call site map builder пре 4 месеци
Cargo.toml f7bbf1d31b Add empty frame for rust based backend пре 5 месеци
LICENSE-APACHE 33156c0d9c Add Apache 2.0 license пре 4 месеци
LICENSE-MIT 7cf8f7c655 Add MIT license пре 4 месеци
README.md f7259ee6a2 Convert readme to md пре 5 месеци
TODO a4e0639a7f Remove header todo entry пре 5 година
build.sh c54f6b8239 test: Run debug by default пре 4 месеци
cleantree.sh dacf434427 Add Cargo.lock to the repository пре 5 месеци
install-users.sh 665126587b permissions: Remove www-data group permission from git user пре 5 месеци
install.sh c35d65ff18 install: Add support for installing debug target пре 4 месеци
setup.py fae0f546a1 Remove WSGI пре 5 месеци
setup_cython.py 8b8da85246 Fix Cython 3.x build пре 6 месеци

README.md

Simple Rust and Python based CMS

Copyright (c) 2011-2024 Michael Buesch m@bues.ch

Building

Run the build.sh script to build the CMS system.

The build requires the cargo-audit and cargo-auditable Rust crates installed:

cargo install cargo-audit cargo-auditable

The Python part requires the Cython compiler installed:

apt install cython3 python3 build-essential

After installing all build dependencies, run the build script:

./build.sh

Installing

After building, run the install-users.sh script to create the user/group structure for CMS in the operating system:

./install-users.sh

After that, run the install.sh script. It will install the CMS system into /opt/cms/.

./install.sh

Then create the database inside of /opt/cms/etc/cms/db/. You may start with the example db:

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

<Directory /opt/cms/libexec/cms-cgi>
    AllowOverride None
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch -Indexes
    Require all granted
</Directory>

# Redirect all 404 to the CMS 404 handler (optional)
ErrorDocument 404 /cms/__nopage/__nogroup.html