Project home: https://bues.ch Original repository at: https://git.bues.ch/git/cms.git https://bues.ch
Michael Buesch ebc5099e38 Update dependencies | 2 viikkoa sitten | |
---|---|---|
.github | 3 viikkoa sitten | |
cms-backd | 2 viikkoa sitten | |
cms-cgi | 2 kuukautta sitten | |
cms-fsd | 1 kuukausi sitten | |
cms-ident | 2 kuukautta sitten | |
cms-postd | 3 viikkoa sitten | |
cms-seccomp | 2 kuukautta sitten | |
cms-socket | 5 kuukautta sitten | |
cms-socket-back | 5 kuukautta sitten | |
cms-socket-db | 5 kuukautta sitten | |
cms-socket-post | 5 kuukautta sitten | |
cms-systemd | 5 kuukautta sitten | |
example | 7 kuukautta sitten | |
test | 7 kuukautta sitten | |
.gitignore | 7 kuukautta sitten | |
Cargo.lock | 2 viikkoa sitten | |
Cargo.toml | 1 kuukausi sitten | |
LICENSE-APACHE | 7 kuukautta sitten | |
LICENSE-MIT | 7 kuukautta sitten | |
README.md | 4 kuukautta sitten | |
TODO | 5 vuotta sitten | |
build.sh | 1 kuukausi sitten | |
create-users.sh | 4 kuukautta sitten | |
install.sh | 6 kuukautta sitten |
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