This project is adapted from WebSight Starter.
x64
/aarch64
architecture (on mac use brew install openjdk@17
).First, build and install he project with Maven:
./mvnw clean install
Run the command
./mvnw clean verify -P e2e
to build the sample websight, aggregate all required CMS dependencies, run end-to-end tests with Cypress, build Docker images (ds/nginx-luna:latest
, ds/websight-cms-luna:latest
).
Once you have build the project, you can run local containerized environment:
cd environment/local
docker compose up
application
- components related code and scripts
backend
- contains application elements (components, templates, etc.) and Java codecontent
- contains sample content created with use of applicationdistribution
- builds a distribution of the project - instance feature model and docker images for runtime componentsenvironment
- contains scripts and files used but build environment
local
- starts local environmenttests
- responsible for the automatic distribution validation
content
- contains content used for end to end testsend-to-end
- end-to-end tests validating distributionPlease read our Contributing Guide before submitting a Pull Request to the project.
To install application code to your local instance:
./mvnw -f application/backend/pom.xml clean install -P autoInstallBundle
To install content to your local instance:
./mvnw -f content/pom.xml clean install -P autoInstallPackage