@jahia/create-module 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +1 -1
- package/template/docker/provisioning.yml +1 -0
- package/template/docker-compose.yml +30 -0
- package/template/settings/resources/$MODULE.properties +1 -1
- package/template/settings/resources/$MODULE_fr.properties +1 -1
- /package/template/settings/content-types-icons/{$MODULE_component.png → $MODULEmix_component.png} +0 -0
package/index.js
CHANGED
|
@@ -84,7 +84,8 @@ Run the following commands to get started:
|
|
|
84
84
|
"# Commit all files",
|
|
85
85
|
)}
|
|
86
86
|
${styleText("dim", "4.")} ${styleText("cyanBright", "code .")} ${styleText("dim", "# Open the project in VSCode")}
|
|
87
|
-
${styleText("dim", "5.")} ${styleText("
|
|
87
|
+
${styleText("dim", "5.")} ${styleText("blueBright", "docker-compose up --wait")} ${styleText("dim", "# Start Jahia")}
|
|
88
|
+
${styleText("dim", "6.")} ${styleText("magentaBright", "yarn build && yarn dev")} ${styleText("dim", "# Build and start the dev mode")}
|
|
88
89
|
`);
|
|
89
90
|
} catch (error) {
|
|
90
91
|
console.error(
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
- installOrUpgradeBundle: "mvn:org.jahia.modules/javascript-modules-engine/$VERSION"
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
services:
|
|
2
|
+
jahia:
|
|
3
|
+
image: jahia/jahia-ee:8.2
|
|
4
|
+
depends_on:
|
|
5
|
+
- postgres
|
|
6
|
+
ports:
|
|
7
|
+
- 8080:8080
|
|
8
|
+
- 9229:9229
|
|
9
|
+
environment:
|
|
10
|
+
DB_VENDOR: postgresql
|
|
11
|
+
DB_URL: jdbc:postgresql://postgres:5432/jahia
|
|
12
|
+
DB_USER: jahia
|
|
13
|
+
DB_PASS: dbpassword
|
|
14
|
+
JPDA: true
|
|
15
|
+
EXECUTE_PROVISIONING_SCRIPT: "file:/mnt/jahia/provisioning.yml"
|
|
16
|
+
volumes:
|
|
17
|
+
- type: bind
|
|
18
|
+
source: ./docker
|
|
19
|
+
target: /mnt/jahia
|
|
20
|
+
healthcheck:
|
|
21
|
+
test: ["CMD", "curl", "http://localhost:8080/start"]
|
|
22
|
+
interval: 5s
|
|
23
|
+
timeout: 1s
|
|
24
|
+
retries: 24
|
|
25
|
+
|
|
26
|
+
postgres:
|
|
27
|
+
image: postgres:16
|
|
28
|
+
environment:
|
|
29
|
+
POSTGRES_USER: jahia
|
|
30
|
+
POSTGRES_PASSWORD: dbpassword
|
/package/template/settings/content-types-icons/{$MODULE_component.png → $MODULEmix_component.png}
RENAMED
|
File without changes
|