Project home: https://bues.ch Original repository at: https://git.bues.ch/git/cms.git https://bues.ch
Michael Buesch 20bf1b9a26 Upgrade pyo3 | vor 22 Stunden | |
---|---|---|
cms-backd | vor 1 Woche | |
cms-cgi | vor 1 Monat | |
cms-fsd | vor 1 Woche | |
cms-ident | vor 1 Monat | |
cms-postd | vor 22 Stunden | |
cms-seccomp | vor 1 Monat | |
cms-socket | vor 4 Monaten | |
cms-socket-back | vor 4 Monaten | |
cms-socket-db | vor 4 Monaten | |
cms-socket-post | vor 4 Monaten | |
cms-systemd | vor 4 Monaten | |
example | vor 5 Monaten | |
test | vor 5 Monaten | |
.gitignore | vor 5 Monaten | |
Cargo.lock | vor 22 Stunden | |
Cargo.toml | vor 22 Stunden | |
LICENSE-APACHE | vor 6 Monaten | |
LICENSE-MIT | vor 6 Monaten | |
README.md | vor 3 Monaten | |
TODO | vor 5 Jahren | |
build.sh | vor 3 Wochen | |
create-users.sh | vor 3 Monaten | |
install.sh | vor 5 Monaten |
Copyright (c) 2011-2024 Michael Buesch m@bues.ch
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
After installing all build dependencies, run the build script:
./build.sh
After building, run the create-users.sh
script to create the user/group structure for CMS in the operating system:
./create-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/
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