Project home: https://bues.ch Original repository at: https://git.bues.ch/git/cms.git https://bues.ch
Michael Buesch e3f15a759a back: Call site map builder | hai 23 minutos | |
---|---|---|
cms | hai 2 días | |
cms-backd | hai 23 minutos | |
cms-cgi | hai 1 hora | |
cms-fsd | hai 6 horas | |
cms-ident | hai 1 día | |
cms-postd | hai 6 horas | |
cms-seccomp | hai 1 mes | |
cms-socket | hai 3 semanas | |
cms-socket-back | hai 1 mes | |
cms-socket-db | hai 1 día | |
cms-socket-post | hai 1 mes | |
cms-systemd | hai 3 semanas | |
cmsbackpy | hai 4 semanas | |
example | hai 2 días | |
submodules | hai 7 meses | |
test | hai 6 horas | |
.gitignore | hai 4 semanas | |
.gitmodules | %!s(int64=2) %!d(string=hai) anos | |
Cargo.lock | hai 23 minutos | |
Cargo.toml | hai 1 mes | |
README.md | hai 1 mes | |
TODO | %!s(int64=4) %!d(string=hai) anos | |
build.sh | hai 1 semana | |
cleantree.sh | hai 4 semanas | |
install-users.sh | hai 4 semanas | |
install.sh | hai 6 horas | |
setup.py | hai 1 mes | |
setup_cython.py | hai 2 meses |
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