-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblueprint.json
More file actions
57 lines (57 loc) · 2.91 KB
/
Copy pathblueprint.json
File metadata and controls
57 lines (57 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"$schema": "https://raw.githubusercontent.com/ateeducacion/nextcloud-playground/main/assets/blueprints/blueprint-schema.json",
"meta": {
"title": "nextcloud-exelearning Playground",
"author": "eXeLearning",
"description": "A fresh Nextcloud in the browser with the eXeLearning app installed, ready to preview and edit .elpx packages in Files."
},
"landingPage": "/index.php/apps/files/",
"siteOptions": {
"title": "eXeLearning on Nextcloud",
"locale": "en",
"timezone": "UTC"
},
"admin": {
"username": "admin",
"password": "admin",
"email": "admin@example.com"
},
"steps": [
{ "step": "disableApp", "app": "firstrunwizard" },
{ "step": "setConfig", "app": "core", "key": "whatsNewEnabled", "value": "no" },
{
"step": "installApp",
"appId": "exelearning",
"url": "https://github-proxy.exelearning.dev/?repo=exelearning/nextcloud-exelearning&release=playground&asset=exelearning.zip"
},
{
"step": "unzip",
"comment": "Overlay the eXeLearning static editor from the upstream release instead of baking it into the app zip (the playground build ships without js/editor/). Same shared artifact the Moodle/WP playgrounds use, fetched through the github-proxy (CORS) and extracted into the installed app's js/editor/. The asset wraps everything in a 'static/' folder, which the unzip step strips. Pinned to .editor-version for deterministic previews; auto-release.yml keeps this URL in sync. Production (release.yml/auto-release.yml) still bakes the editor in.",
"url": "https://github-proxy.exelearning.dev/?repo=exelearning/exelearning&release=v4.0.2&asset=exelearning-static-v4.0.2.zip",
"destination": "apps/exelearning/js/editor"
},
{
"step": "writeFile",
"path": "config/mimetypemapping.json",
"content": "{\"elpx\":[\"application/vnd.exelearning.elpx\",\"application/zip\"],\"elp\":[\"application/vnd.exelearning.elpx\",\"application/zip\"]}"
},
{
"step": "writeFile",
"path": "config/mimetypealiases.json",
"content": "{\"application/vnd.exelearning.elpx\":\"exelearning\",\"application/x-exelearning\":\"exelearning\"}"
},
{ "step": "runOcc", "args": ["maintenance:mimetype:update-js"] },
{ "step": "runOcc", "args": ["maintenance:mimetype:update-db", "--repair-filecache"] },
{
"step": "writeFile",
"path": "data/admin/files/exelearning-samples/un-contenido-de-ejemplo-para-probar-estilos-y-catalogacion.elpx",
"url": "https://raw.githubusercontent.com/exelearning/nextcloud-exelearning/main/tests/fixtures/un-contenido-de-ejemplo-para-probar-estilos-y-catalogacion.elpx"
},
{
"step": "writeFile",
"path": "data/admin/files/exelearning-samples/propiedades.elpx",
"url": "https://raw.githubusercontent.com/exelearning/nextcloud-exelearning/main/tests/fixtures/propiedades.elpx"
},
{ "step": "runOcc", "args": ["files:scan", "admin"] }
]
}