This project is adapted from WebSight Starter.
- AdoptOpenJDK 17 with
x64/aarch64architecture (on mac usebrew install openjdk@17). - Docker Desktop
First, build and install he project with Maven:
./mvnw clean installRun the command
./mvnw clean verify -P e2eto 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 upapplication- components related code and scriptsbackend- contains application elements (components, templates, etc.) and Java code
content- 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 environmentlocal- starts local environment
tests- responsible for the automatic distribution validationcontent- contains content used for end to end testsend-to-end- end-to-end tests validating distribution
Please 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 autoInstallBundleTo install content to your local instance:
./mvnw -f content/pom.xml clean install -P autoInstallPackage