Project home: https://bues.ch Original repository at: https://git.bues.ch/git/cms.git https://bues.ch
Michael Buesch 20bf1b9a26 Upgrade pyo3 | hai 3 días | |
---|---|---|
cms-backd | hai 2 semanas | |
cms-cgi | hai 1 mes | |
cms-fsd | hai 2 semanas | |
cms-ident | hai 1 mes | |
cms-postd | hai 3 días | |
cms-seccomp | hai 1 mes | |
cms-socket | hai 4 meses | |
cms-socket-back | hai 4 meses | |
cms-socket-db | hai 4 meses | |
cms-socket-post | hai 4 meses | |
cms-systemd | hai 4 meses | |
example | hai 6 meses | |
test | hai 6 meses | |
.gitignore | hai 6 meses | |
Cargo.lock | hai 3 días | |
Cargo.toml | hai 3 días | |
LICENSE-APACHE | hai 6 meses | |
LICENSE-MIT | hai 6 meses | |
README.md | hai 3 meses | |
TODO | %!s(int64=5) %!d(string=hai) anos | |
build.sh | hai 3 semanas | |
create-users.sh | hai 3 meses | |
install.sh | hai 5 meses |
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