Pristy Configuration Initialization
Each Pristy application (Portail, Espaces, Actes, Marchés, Social) is
configured by an env-config.json file stored in the
Pristy - Configuration folder of the Alfresco Data Dictionary.
Configuration initialization is done from the Pristy Portail administration interface.
Prerequisites
The Pristy - Configuration folder and base groups (PRISTY_ADMINISTRATORS) are automatically created at Alfresco startup by the pristy-core module. No manual action is required for this step.
Accessing initialization
- Log in to the Pristy Portail with an Alfresco Administrator account
- Open the Administration menu
- Click on Bootstrap Pristy
This page is restricted to Alfresco administrators. It does not appear in the menu for standard users.
Initialization wizard
The wizard guides the administrator through four steps.
Step 1: Selection
Choose the application to initialize and the initialization type:
| Application | Description |
|---|---|
| Portail | Dashboard, menus, external links |
| Espaces | Collaborative workspaces |
| Actes | Administrative acts management |
| Marchés | Public procurement |
| Social | Enterprise social network |
| Media | Media library |
For each application, three initialization files are available:
| File | Usage |
|---|---|
| init.yaml | Complete initialization (groups, users, sites, folders, files, permissions) |
| init-emails.yaml | Email templates only |
| init-env-config.yaml | env-config.json configuration only |
For a first installation, use init.yaml which creates all the required structure. For a configuration update on an existing server, init-env-config.yaml is sufficient.
Step 2: Variables
If the initialization file contains variables (passwords, domain names…), the wizard displays a form to fill them in.
Passwords are pre-filled with a secure random value. Other variables display their default value which you can modify.
This step is skipped if the file contains no variables.
Step 3: Plan (preview)
The wizard analyzes the file and displays a summary of planned actions:
- Create: elements that do not yet exist on the server
- Existing: elements already present (skipped)
- Update: elements to modify
Details are displayed by phase (users, groups, members, sites, folders, files, permissions).
No changes are made at this step. You can review the plan before executing.
Step 4: Execution
Click Execute to apply the actions. Progress is displayed in real time. At the end, a summary shows the number of elements created, updated, or skipped.
Common use cases
First installation
After deploying a Pristy server, run the complete initialization for each deployed application:
- Portail →
init.yaml - Espaces →
init.yaml - Other applications as needed
This creates groups, configuration folders, env-config.json files, and
permissions.
Configuration update
To modify an application’s configuration (for example, enable a module or change a parameter):
- Portail →
init-env-config.yaml - Review the plan (the existing env-config appears as “Update”)
- Execute
Email templates update
To deploy or update Alfresco email templates (notifications, invitations, password reset):
- Portail →
init-emails.yaml - Execute
Manual method (curl)
For a one-off update of a single configuration file, you can use curl
directly:
ALF_ADMIN=admin
ALF_PASS=
curl -X PUT https://server.pristy.net/alfresco/s/fr/jeci/pristy/config/espaces/env-config.json \
--user "${ALF_ADMIN}:${ALF_PASS}" \
-H 'Content-Type: application/json' \
--data "@/path/to/env-config.json"
Replace espaces in the URL with the target application name (portail,
actes, marches, social).
The curl method sends the file as-is without merging with the existing
configuration. Make sure the file contains all required parameters.
Last Update - April 30, 2026