Project home: https://bues.ch Original repository at: https://git.bues.ch/git/cms.git https://bues.ch
Michael Buesch 20bf1b9a26 Upgrade pyo3 | пре 21 часа | |
---|---|---|
cms-backd | пре 1 недеља | |
cms-cgi | пре 1 месец | |
cms-fsd | пре 1 недеља | |
cms-ident | пре 1 месец | |
cms-postd | пре 21 часа | |
cms-seccomp | пре 1 месец | |
cms-socket | пре 4 месеци | |
cms-socket-back | пре 4 месеци | |
cms-socket-db | пре 4 месеци | |
cms-socket-post | пре 4 месеци | |
cms-systemd | пре 4 месеци | |
example | пре 5 месеци | |
test | пре 5 месеци | |
.gitignore | пре 5 месеци | |
Cargo.lock | пре 21 часа | |
Cargo.toml | пре 21 часа | |
LICENSE-APACHE | пре 6 месеци | |
LICENSE-MIT | пре 6 месеци | |
README.md | пре 3 месеци | |
TODO | пре 5 година | |
build.sh | пре 3 недеља | |
create-users.sh | пре 3 месеци | |
install.sh | пре 5 месеци |
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