A new implementation of the Cinnamon 3 CMS server in Java.
Current status: alpha.
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.
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.
To run the newest binary release, you just need
-
cinnamon-server.jar (click on "Assets" to expand the file list, then download the jar file.)
-
Git (optional for build, required for developers)
-
Apache Maven 3.8.1 (as build system)
After performing the operating system specific part, continue with:
TODO: add a database for initial production setup
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.
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
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.
Ingo Wiarda - ingo_wiarda@dewarim.de