Project home: https://bues.ch Original repository at: https://git.bues.ch/git/cms.git https://bues.ch
Michael Buesch 34404460b8 Relicense all Rust code under Apache2/MIT | 5 months ago | |
---|---|---|
cms | 6 months ago | |
cms-backd | 5 months ago | |
cms-cgi | 5 months ago | |
cms-fsd | 5 months ago | |
cms-ident | 5 months ago | |
cms-postd | 5 months ago | |
cms-seccomp | 5 months ago | |
cms-socket | 5 months ago | |
cms-socket-back | 5 months ago | |
cms-socket-db | 5 months ago | |
cms-socket-post | 5 months ago | |
cms-systemd | 5 months ago | |
cmsbackpy | 6 months ago | |
example | 6 months ago | |
submodules | 1 year ago | |
test | 5 months ago | |
.gitignore | 6 months ago | |
.gitmodules | 2 years ago | |
Cargo.lock | 5 months ago | |
Cargo.toml | 7 months ago | |
LICENSE-APACHE | 5 months ago | |
LICENSE-MIT | 5 months ago | |
README.md | 7 months ago | |
TODO | 5 years ago | |
build.sh | 6 months ago | |
cleantree.sh | 6 months ago | |
install-users.sh | 6 months ago | |
install.sh | 5 months ago | |
setup.py | 7 months ago | |
setup_cython.py | 8 months ago |
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
The Python part requires the Cython
compiler installed:
apt install cython3 python3 build-essential
After installing all build dependencies, run the build script:
./build.sh
After building, run the install-users.sh
script to create the user/group structure for CMS in the operating system:
./install-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