Skip to content

Commit

Permalink
fix user guide built files
Browse files Browse the repository at this point in the history
  • Loading branch information
maram ayari authored and maramtrackIT committed Jan 1, 2024
1 parent f322a1c commit 5549f69
Show file tree
Hide file tree
Showing 133 changed files with 8,939 additions and 1,338 deletions.
69 changes: 69 additions & 0 deletions config/opensearch.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@

export default ({ env }) => ({
connection: {
node: env('OPENSEARCH_HOST', 'https://search-trackflix-cmd-search-dnqokazsdocnbsxqf5drkytzu4.eu-west-3.es.amazonaws.com'),
auth: {
username: env('OPENSEARCH_USERNAME','trackflix'),
password: env('OPENSEARCH_PASSWORD','Trackflix1!'),
},
},
settings: {
importLimit: 3000,
validStatus: [200, 201], validMethod: ['PUT', 'POST', 'DELETE'], fillByResponse: false, index_prefix: '', index_postfix: '',
removeExistIndexForMigration: false,
},
models: [
{
"model": "category",
"pk": "id",
"plugin": null,
"enabled": true,
"index": "category",
"relations": [],
"conditions": {},
"fillByResponse": true,
"migration": false,
"supportAdminPanel": true,
"urls": []
},
{
"model": "genre",
"pk": "id",
"plugin": null,
"enabled": true,
"index": "genre",
"relations": [],
"conditions": {},
"fillByResponse": true,
"migration": false,
"supportAdminPanel": true,
"urls": []
},
{
"model": "live-channel",
"pk": "id",
"plugin": null,
"enabled": true,
"index": "live-channel",
"relations": [],
"conditions": {},
"fillByResponse": true,
"migration": false,
"supportAdminPanel": true,
"urls": []
},
{
"model": "vod",
"pk": "id",
"plugin": null,
"enabled": true,
"index": "vod",
"relations": [],
"conditions": {},
"fillByResponse": true,
"migration": false,
"supportAdminPanel": true,
"urls": []
}
]
});
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
"description": "A Strapi application",
"scripts": {
"prebuild": "for plugin_dir in src/plugins/*; do (cd \"$plugin_dir\" && yarn build); done",
"build-user-guide": "cd user-guide && yarn install && yarn build",
"copy-user-guide": "cp -r user-guide/build public/docusaurus",
"develop": "strapi develop",
"start": "strapi start",
"build": "strapi build",
"build": "yarn build-user-guide && yarn copy-user-guide && strapi build",
"strapi": "strapi",
"postinstall": "patch-package"
},
Expand Down
16 changes: 0 additions & 16 deletions public/docusaurus/404.html

This file was deleted.

1 change: 0 additions & 1 deletion public/docusaurus/assets/css/styles.8029dd8f.css

This file was deleted.

Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion public/docusaurus/assets/js/10a3a092.2ea42077.js

This file was deleted.

1 change: 0 additions & 1 deletion public/docusaurus/assets/js/14eb3368.22a3b7ce.js

This file was deleted.

Loading

0 comments on commit 5549f69

Please sign in to comment.