Project home: https://bues.ch Original repository at: https://git.bues.ch/git/cms.git https://bues.ch
Michael Buesch 20bf1b9a26 Upgrade pyo3 | 4 dagar sedan | |
---|---|---|
cms-backd | 2 veckor sedan | |
cms-cgi | 1 månad sedan | |
cms-fsd | 2 veckor sedan | |
cms-ident | 1 månad sedan | |
cms-postd | 4 dagar sedan | |
cms-seccomp | 1 månad sedan | |
cms-socket | 4 månader sedan | |
cms-socket-back | 4 månader sedan | |
cms-socket-db | 4 månader sedan | |
cms-socket-post | 4 månader sedan | |
cms-systemd | 4 månader sedan | |
example | 6 månader sedan | |
test | 6 månader sedan | |
.gitignore | 6 månader sedan | |
Cargo.lock | 4 dagar sedan | |
Cargo.toml | 4 dagar sedan | |
LICENSE-APACHE | 6 månader sedan | |
LICENSE-MIT | 6 månader sedan | |
README.md | 3 månader sedan | |
TODO | 5 år sedan | |
build.sh | 3 veckor sedan | |
create-users.sh | 3 månader sedan | |
install.sh | 5 månader sedan |
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