Project home: https://bues.ch Original repository at: https://git.bues.ch/git/cms.git https://bues.ch
Michael Buesch 2ed02c39d5 back: Move communication | před 2 hodinami | |
---|---|---|
cms | před 1 měsícem | |
cms-backd | před 2 hodinami | |
cms-cgi | před 1 měsícem | |
cms-fsd | před 2 týdny | |
cms-ident | před 2 týdny | |
cms-postd | před 4 týdny | |
cms-seccomp | před 1 měsícem | |
cms-socket | před 2 týdny | |
cms-socket-back | před 1 měsícem | |
cms-socket-db | před 1 měsícem | |
cms-socket-post | před 1 měsícem | |
cms-systemd | před 2 týdny | |
cmsbackpy | před 3 týdny | |
example | před 2 týdny | |
submodules | před 7 měsíci | |
test | před 6 dny | |
.gitignore | před 3 týdny | |
.gitmodules | před 2 roky | |
Cargo.lock | před 6 hodinami | |
Cargo.toml | před 1 měsícem | |
README.md | před 1 měsícem | |
TODO | před 4 roky | |
build.sh | před 6 dny | |
cleantree.sh | před 3 týdny | |
install-users.sh | před 3 týdny | |
install.sh | před 2 týdny | |
setup.py | před 1 měsícem | |
setup_cython.py | před 2 měsíci |
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