/cinnamon4

Cinnamon CMS - version 4

Primary LanguageJavaApache License 2.0Apache-2.0

Cinnamon 4

A new implementation of the Cinnamon 3 CMS server in Java.

Current status: alpha.

Goal

Implement the core features of the Cinnamon CMS in Java,

  • using modern language features,

  • with unit tests,

  • with integration tests,

  • with documentation,

  • improved API,

  • removing obsolete code,

  • minimizing dependencies on huge frameworks which are hard to understand and difficult to update.

Dependencies

Version numbers describe the minimum version. You can either download them directly and install them manually (recommended for Java) or use your system’s package manager (Linux) or the Windows installer.

Run the binary version

To run the newest binary release, you just need

Build & run from source

Initial Setup

After performing the operating system specific part, continue with:

TODO: add a database for initial production setup

Build

In the top level project directory, run:

mvn clean package

to build target/cinnamon-server.jar which includes all dependencies. This will also run a full integration test and create a lot of basic objects in the cinnamon_test database. If this succeeds, the system is okay.

Run

java -jar target/cinnamon-server.jar

will start the server with default settings.

Run

java -jar target/cinnamon-server.jar --help

to show the command line options.

# write the default config to a file:
java -jar target/cinnamon-server.jar --write-config my-config.xml
# load a custom config file:
java -jar target/cinnamon-server.jar --config my-config.xml
# start on port 8080:
java -jar target/cinnamon-server.jar --port 8080

Configure

TODO: explain/document configuration settings issue #125

See the file default-config.xml[default-config.xml] for the default values.

Copyright 2018-2022 Ingo Wiarda
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this project except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0

Also see: Apache 2.0 license text included in this project.

Author

Ingo Wiarda - ingo_wiarda@dewarim.de

Maintainers and Contributors

Maintainers

  • Ingo Wiarda [current]

Contributors