Simplicité platform Git Repositories
This document describe how to use platform Git repositories.
Note: starting with version 3.2 the configuration modules can be exposed as Git repositories (managed by the Simplicité instance itself). This document does not deal of this feature. Please refer to this document instead.
Prerequisites
Have a recent Git version installed.
Turn off SSL verification (our Git repositories are accessible over HTTPS with certificates signed by our own certification authority):
git config --global http.sslVerify false
Platform repositories
The Simplicité platform is provided in the platform
domain in two packaging:
- Instance template packages (versions 3.0 an above)
- Legacy setup packages (for versions 2.x and 3.x only)
All platform packages repositories are read-only.
Instance template packages usage
The instances templates packages usage is straigtforward: it contains a preinstalled Tomcat® webapp (using, by default, and embedded HSQLDB® database) that can be deployed as-is.
You just need to clone the desired instance template package from https://<username>[:<password>]@platform.git.simplicite.io/template-<x.y>.git
,
copy the content of the app
in your Tomcat's webapps
folder and start Tomcat.
Note: the instance templates are used by our instance manager and by our Docker container and other PaaS containers (Bluemix, Pivotal, Heroku, OpenShift, ...)
Setup package usages
- Clone the desired setup package from
https://<username>[:<password>]@platform.git.simplicite.io/setup-<x.y>.git
- Copy the content of the setup to a new Java project (avoid working with the setup respository itself unless you are a Git advanced user and are able to configure dedicated custom branches and remotes)
- Setup the project using
ant setup
ANT task - If needed adjust manually the resulting build and properties files in your project
See project package and ANT tasks document for details on how to proceed with installation/deployement of your project.