Project home: https://bues.ch Original repository at: https://git.bues.ch/git/cms.git https://bues.ch
|
1 mēnesi atpakaļ | |
---|---|---|
cms-backd | 1 mēnesi atpakaļ | |
cms-cgi | 1 mēnesi atpakaļ | |
cms-fsd | 1 mēnesi atpakaļ | |
cms-ident | 1 mēnesi atpakaļ | |
cms-postd | 1 mēnesi atpakaļ | |
cms-seccomp | 1 mēnesi atpakaļ | |
cms-socket | 1 mēnesi atpakaļ | |
cms-socket-back | 1 mēnesi atpakaļ | |
cms-socket-db | 1 mēnesi atpakaļ | |
cms-socket-post | 1 mēnesi atpakaļ | |
cms-systemd | 1 mēnesi atpakaļ | |
example | 3 mēneši atpakaļ | |
test | 3 mēneši atpakaļ | |
.gitignore | 3 mēneši atpakaļ | |
Cargo.lock | 1 mēnesi atpakaļ | |
Cargo.toml | 1 mēnesi atpakaļ | |
LICENSE-APACHE | 3 mēneši atpakaļ | |
LICENSE-MIT | 3 mēneši atpakaļ | |
README.md | 3 mēneši atpakaļ | |
TODO | 5 gadi atpakaļ | |
build.sh | 3 mēneši atpakaļ | |
install-users.sh | 4 mēneši atpakaļ | |
install.sh | 3 mēneši atpakaļ |
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 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