diff --git a/404.html b/404.html index bed688a5..b2b83a38 100644 --- a/404.html +++ b/404.html @@ -10,13 +10,13 @@ Page Not Found | Thelia documentation - +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- + \ No newline at end of file diff --git a/assets/js/03ba2219.3603c795.js b/assets/js/03ba2219.3603c795.js new file mode 100644 index 00000000..36da31ab --- /dev/null +++ b/assets/js/03ba2219.3603c795.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkthelia=self.webpackChunkthelia||[]).push([[2240],{3905:(e,t,o)=>{o.d(t,{Zo:()=>s,kt:()=>h});var r=o(7294);function n(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function i(e){for(var t=1;t=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var c=r.createContext({}),p=function(e){var t=r.useContext(c),o=t;return e&&(o="function"==typeof e?e(t):i(i({},t),e)),o},s=function(e){var t=p(e.components);return r.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var o=e.components,n=e.mdxType,a=e.originalType,c=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),u=p(o),h=n,m=u["".concat(c,".").concat(h)]||u[h]||d[h]||a;return o?r.createElement(m,i(i({ref:t},s),{},{components:o})):r.createElement(m,i({ref:t},s))}));function h(e,t){var o=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=o.length,i=new Array(a);i[0]=u;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeof e?e:n,i[1]=l;for(var p=2;p{o.r(t),o.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>p});var r=o(7462),n=(o(7294),o(3905));const a={title:"Dockerize your Thelia",sidebar_position:6},i=void 0,l={unversionedId:"getting_started/docker",id:"getting_started/docker",title:"Dockerize your Thelia",description:"A docker configuration is provided in the repository of Thelia. It uses docker-compose.",source:"@site/docs/getting_started/docker.md",sourceDirName:"getting_started",slug:"/getting_started/docker",permalink:"/docs/getting_started/docker",draft:!1,editUrl:"https://github.com/thelia/docs/edit/main/docs/getting_started/docker.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{title:"Dockerize your Thelia",sidebar_position:6},sidebar:"myAutogeneratedSidebar",previous:{title:"Apache configuration",permalink:"/docs/getting_started/apache_configuration"},next:{title:"Trigger Creation Fails",permalink:"/docs/getting_started/troubleshooting/trigger_remove_free_text_feature_av"}},c={},p=[{value:"Get the project",id:"get-the-project",level:2},{value:"With composer",id:"with-composer",level:3},{value:"Or download the archive",id:"or-download-the-archive",level:3},{value:"Run docker",id:"run-docker",level:2},{value:"Initial commands",id:"initial-commands",level:2},{value:"To go further",id:"to-go-further",level:2},{value:"Shut down docker",id:"shut-down-docker",level:2},{value:"How to change the configuration",id:"how-to-change-the-configuration",level:2}],s={toc:p};function d(e){let{components:t,...o}=e;return(0,n.kt)("wrapper",(0,r.Z)({},s,o,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"A docker configuration is provided in the repository of Thelia. It uses docker-compose."),(0,n.kt)("p",null,"It requires obviously ",(0,n.kt)("a",{parentName:"p",href:"https://docker.com/"},"docker")," and ",(0,n.kt)("a",{parentName:"p",href:"http://docs.docker.com/compose/"},"docker-compose")),(0,n.kt)("h2",{id:"get-the-project"},"Get the project"),(0,n.kt)("h3",{id:"with-composer"},"With composer"),(0,n.kt)("p",null,"Run the composer command shown in the ",(0,n.kt)("a",{parentName:"p",href:"/docs/getting_started/Installation"},"dedicated page"),"."),(0,n.kt)("h3",{id:"or-download-the-archive"},"Or download the archive"),(0,n.kt)("p",null,"You can download the archive from official ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/thelia/thelia/releases"},"releases pages"),"."),(0,n.kt)("h2",{id:"run-docker"},"Run docker"),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"\u26a0\ufe0f ",(0,n.kt)("strong",{parentName:"p"},"Important")," : First, copy and paste content from file ",(0,n.kt)("inlineCode",{parentName:"p"},".env.docker")," to ",(0,n.kt)("inlineCode",{parentName:"p"},".env")," file.\nChange default values if needed, but default values should work. You should overrides default values with a ",(0,n.kt)("inlineCode",{parentName:"p"},".env.local")," file.")),(0,n.kt)("p",null,"Then execute this command from the root path of the project :"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre"},"docker compose up -d\n")),(0,n.kt)("p",null,"Your website should be accessible here, but not yet installed : ",(0,n.kt)("a",{parentName:"p",href:"http://localhost:8080"},"http://localhost:8080"),' . You should see "Thelia is not installed".'),(0,n.kt)("h2",{id:"initial-commands"},"Initial commands"),(0,n.kt)("p",null,"To be able to run PHP command, you first need to execute this if you need :"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre"},"docker-compose exec php-fpm bash\n")),(0,n.kt)("p",null,"You will be inside the php docker container. From here, you have to follow the classic installation process of Thelia ( cf: ",(0,n.kt)("a",{parentName:"p",href:"/docs/getting_started/Installation"},"installation page")," )"),(0,n.kt)("p",null,"A few differences :"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"you have to use the database host ",(0,n.kt)("inlineCode",{parentName:"li"},"docker-thelia-mariadb")," instead of ",(0,n.kt)("inlineCode",{parentName:"li"},"localhost")),(0,n.kt)("li",{parentName:"ul"},"use ",(0,n.kt)("inlineCode",{parentName:"li"},"thelia")," (if you didn't change it) as the database name, user and password"),(0,n.kt)("li",{parentName:"ul"},"to install modern theme, please execute command from your host (not inside docker container)"),(0,n.kt)("li",{parentName:"ul"},"execute php commands of the installation process inside the docker container (only php commands)")),(0,n.kt)("p",null,"If you have permission errors at the end of the execution or in the browser, simply run this from your host terminal :"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre"},"sudo chmod -R 777 var/log\nsudo chmod -R 777 var/cache\nsudo chmod -R 777 web\n")),(0,n.kt)("p",null,"From here, your Thelia might be correctly installed.\nYour website should be accessible here : ",(0,n.kt)("a",{parentName:"p",href:"http://localhost:8080"},"http://localhost:8080")," ."),(0,n.kt)("h2",{id:"to-go-further"},"To go further"),(0,n.kt)("p",null,"Environment variables are set in the ",(0,n.kt)("inlineCode",{parentName:"p"},".env")," file, if you change them, you have to restart the container :"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-bash"},"docker compose down --remove-orphans\ndocker compose up -d\ndocker compose exec php-fpm bash\nrm -rf var/cache/*\n")),(0,n.kt)("p",null,"You can now run commands like this inside your container :"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre"},"php Thelia c:c\nphp Thelia admin:create\nphp local/setup/import.php\n")),(0,n.kt)("h2",{id:"shut-down-docker"},"Shut down docker"),(0,n.kt)("p",null,"Run this command from your root path if you need to stop your docker containers:"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre"},"docker compose down --remove-orphans\n")),(0,n.kt)("h2",{id:"how-to-change-the-configuration"},"How to change the configuration"),(0,n.kt)("p",null,"All the configuration can be customize for your own project. It uses the official ",(0,n.kt)("a",{parentName:"p",href:"https://hub.docker.com/_/php/"},"php image")," provided by docker so you can change the php version as you want.\nYou can also install all the extension you want."),(0,n.kt)("p",null,"Each time you modify the configuration, you have to rebuild the containers : ",(0,n.kt)("inlineCode",{parentName:"p"},"docker-composer build --no-cache")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/03ba2219.3ad66c1b.js b/assets/js/03ba2219.3ad66c1b.js deleted file mode 100644 index 70c80990..00000000 --- a/assets/js/03ba2219.3ad66c1b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkthelia=self.webpackChunkthelia||[]).push([[2240],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>h});var o=r(7294);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function i(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var l=o.createContext({}),s=function(e){var t=o.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=s(e.components);return o.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},d=o.forwardRef((function(e,t){var r=e.components,n=e.mdxType,a=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),d=s(r),h=n,f=d["".concat(l,".").concat(h)]||d[h]||u[h]||a;return r?o.createElement(f,i(i({ref:t},p),{},{components:r})):o.createElement(f,i({ref:t},p))}));function h(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var a=r.length,i=new Array(a);i[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c.mdxType="string"==typeof e?e:n,i[1]=c;for(var s=2;s{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>u,frontMatter:()=>a,metadata:()=>c,toc:()=>s});var o=r(7462),n=(r(7294),r(3905));const a={title:"Dockerize your Thelia",sidebar_position:4},i=void 0,c={unversionedId:"getting_started/docker",id:"getting_started/docker",title:"Dockerize your Thelia",description:"A docker configuration is provided in the repository of Thelia. It uses docker-compose.",source:"@site/docs/getting_started/docker.md",sourceDirName:"getting_started",slug:"/getting_started/docker",permalink:"/docs/getting_started/docker",draft:!1,editUrl:"https://github.com/thelia/docs/edit/main/docs/getting_started/docker.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{title:"Dockerize your Thelia",sidebar_position:4},sidebar:"myAutogeneratedSidebar",previous:{title:"Apache configuration",permalink:"/docs/getting_started/apache_configuration"},next:{title:"Trigger Creation Fails",permalink:"/docs/getting_started/troubleshooting/trigger_remove_free_text_feature_av"}},l={},s=[{value:"start the containers",id:"start-the-containers",level:2},{value:"How to use it",id:"how-to-use-it",level:2},{value:"Database information",id:"database-information",level:2},{value:"How to change the configuration",id:"how-to-change-the-configuration",level:2}],p={toc:s};function u(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,o.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"A docker configuration is provided in the repository of Thelia. It uses docker-compose. "),(0,n.kt)("p",null,"It requires obviously ",(0,n.kt)("a",{parentName:"p",href:"https://docker.com/"},"docker")," and ",(0,n.kt)("a",{parentName:"p",href:"http://docs.docker.com/compose/"},"docker-compose")),(0,n.kt)("h2",{id:"start-the-containers"},"start the containers"),(0,n.kt)("p",null,"Simply run : "),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre"},"docker-compose up -d\n")),(0,n.kt)("p",null,"tip : create an alias for docker-compose, it's boring to write it all the time"),(0,n.kt)("h2",{id:"how-to-use-it"},"How to use it"),(0,n.kt)("p",null,"All the script are launched through docker. For examples : "),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre"},"docker exec -it thelia_web_1 php Thelia cache:clear\ndocker exec -it thelia_web_1 php setup/faker.php\ndocker exec -it thelia_web_1 unit-tests.sh\ndocker exec -it thelia_web_1 php composer.phar install\n")),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"thelia_web_1")," is the name of your main container. run ",(0,n.kt)("inlineCode",{parentName:"p"},"docker-compose")," if your container name is different."),(0,n.kt)("p",null,"You can now use Thelia exactly as if you have all the php/apache/mysql stack installed on your machine. This configuration contains xdebug so you can also use the ste by step feature."),(0,n.kt)("h2",{id:"database-information"},"Database information"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"host : mariaDB"),(0,n.kt)("li",{parentName:"ul"},"login : root"),(0,n.kt)("li",{parentName:"ul"},"password : toor")),(0,n.kt)("h2",{id:"how-to-change-the-configuration"},"How to change the configuration"),(0,n.kt)("p",null,"All the configuration can be customize for your own project. It uses the official ",(0,n.kt)("a",{parentName:"p",href:"https://hub.docker.com/_/php/"},"php image")," provided by docker so you can change the php version as you want.\nYou can also install all the extension you want."),(0,n.kt)("p",null,"Each time you modify the configuration, you have to rebuild the containers : ",(0,n.kt)("inlineCode",{parentName:"p"},"docker-composer build --no-cache")))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e4a390a3.44b9358c.js b/assets/js/e4a390a3.44b9358c.js deleted file mode 100644 index 3560b3ac..00000000 --- a/assets/js/e4a390a3.44b9358c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkthelia=self.webpackChunkthelia||[]).push([[6326],{3905:(e,t,n)=>{n.d(t,{Zo:()=>u,kt:()=>m});var a=n(7294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c=a.createContext({}),s=function(e){var t=a.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},u=function(e){var t=s(e.components);return a.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},p=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),p=s(n),m=r,h=p["".concat(c,".").concat(m)]||p[m]||d[m]||o;return n?a.createElement(h,i(i({ref:t},u),{},{components:n})):a.createElement(h,i({ref:t},u))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,i=new Array(o);i[0]=p;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeof e?e:r,i[1]=l;for(var s=2;s{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>l,toc:()=>s});var a=n(7462),r=(n(7294),n(3905));const o={title:"Installation",sidebar_position:1},i=void 0,l={unversionedId:"getting_started/Installation",id:"getting_started/Installation",title:"Installation",description:"You need to follow the requirements and have composer installed.",source:"@site/docs/getting_started/Installation.md",sourceDirName:"getting_started",slug:"/getting_started/Installation",permalink:"/docs/getting_started/Installation",draft:!1,editUrl:"https://github.com/thelia/docs/edit/main/docs/getting_started/Installation.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{title:"Installation",sidebar_position:1},sidebar:"myAutogeneratedSidebar",previous:{title:"Introduction",permalink:"/docs/"},next:{title:"Nginx configuration",permalink:"/docs/getting_started/nginx_configuration"}},c={},s=[{value:"Download the project",id:"download-the-project",level:3},{value:"Launch the database installation",id:"launch-the-database-installation",level:3},{value:"Insert demo data",id:"insert-demo-data",level:3},{value:"Create an admin account",id:"create-an-admin-account",level:3},{value:"Require existing modules",id:"require-existing-modules",level:3}],u={toc:s};function d(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"You need to follow the requirements and have composer installed.\nWith this installation you can manage easily your Thelia version with composer, require new\ndependencies, etc."),(0,r.kt)("admonition",{type:"info"},(0,r.kt)("p",{parentName:"admonition"},"If you want to use ",(0,r.kt)("strong",{parentName:"p"},"docker")," please follow ",(0,r.kt)("a",{parentName:"p",href:"./docker"},"this")," way.")),(0,r.kt)("h3",{id:"download-the-project"},"Download the project"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"composer create-project thelia/thelia-project YourProject 2.5.3\n")),(0,r.kt)("h3",{id:"launch-the-database-installation"},"Launch the database installation"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-bash"},"cd YourProject\nphp Thelia thelia:install\n")),(0,r.kt)("p",null,"That's all, your Thelia is now installed, but depending your web server you may need to do come configuration : "),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Guide for ",(0,r.kt)("a",{parentName:"li",href:"./apache_configuration"},"Apache")),(0,r.kt)("li",{parentName:"ul"},"Guide for ",(0,r.kt)("a",{parentName:"li",href:"./nginx_configuration"},"Nginx"))),(0,r.kt)("h3",{id:"insert-demo-data"},"Insert demo data"),(0,r.kt)("p",null,"Now if you want a demo data with fake but realistic products execute"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-bash"},"php local/setup/import.php\n")),(0,r.kt)("h3",{id:"create-an-admin-account"},"Create an admin account"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-bash"},"php Thelia admin:create\n")),(0,r.kt)("h3",{id:"require-existing-modules"},"Require existing modules"),(0,r.kt)("p",null,"If you want to add a module made by our community you can browse ",(0,r.kt)("a",{parentName:"p",href:"../../modules"},"this")," list and execute the ",(0,r.kt)("inlineCode",{parentName:"p"},"composer require")," command attached to it to download it.\nAfter that you can enable and disable the module in the modules pages in your store back-office."),(0,r.kt)("hr",null))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e4a390a3.99b4f7de.js b/assets/js/e4a390a3.99b4f7de.js new file mode 100644 index 00000000..4c8cfa5e --- /dev/null +++ b/assets/js/e4a390a3.99b4f7de.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkthelia=self.webpackChunkthelia||[]).push([[6326],{3905:(e,t,a)=>{a.d(t,{Zo:()=>c,kt:()=>m});var n=a(7294);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t=0||(l[a]=e[a]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}var p=n.createContext({}),s=function(e){var t=n.useContext(p),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},c=function(e){var t=s(e.components);return n.createElement(p.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var a=e.components,l=e.mdxType,o=e.originalType,p=e.parentName,c=r(e,["components","mdxType","originalType","parentName"]),u=s(a),m=l,h=u["".concat(p,".").concat(m)]||u[m]||d[m]||o;return a?n.createElement(h,i(i({ref:t},c),{},{components:a})):n.createElement(h,i({ref:t},c))}));function m(e,t){var a=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var o=a.length,i=new Array(o);i[0]=u;var r={};for(var p in t)hasOwnProperty.call(t,p)&&(r[p]=t[p]);r.originalType=e,r.mdxType="string"==typeof e?e:l,i[1]=r;for(var s=2;s{a.r(t),a.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>r,toc:()=>s});var n=a(7462),l=(a(7294),a(3905));const o={title:"Installation",sidebar_position:1},i=void 0,r={unversionedId:"getting_started/Installation",id:"getting_started/Installation",title:"Installation",description:"You need to follow the requirements and have composer installed.",source:"@site/docs/getting_started/Installation.md",sourceDirName:"getting_started",slug:"/getting_started/Installation",permalink:"/docs/getting_started/Installation",draft:!1,editUrl:"https://github.com/thelia/docs/edit/main/docs/getting_started/Installation.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{title:"Installation",sidebar_position:1},sidebar:"myAutogeneratedSidebar",previous:{title:"Introduction",permalink:"/docs/"},next:{title:"Nginx configuration",permalink:"/docs/getting_started/nginx_configuration"}},p={},s=[{value:"Download the project",id:"download-the-project",level:3},{value:"Thelia core installation",id:"thelia-core-installation",level:3},{value:"Create an admin",id:"create-an-admin",level:3},{value:"Thelia modern theme installation",id:"thelia-modern-theme-installation",level:3},{value:"1. Check Node.js Version",id:"1-check-nodejs-version",level:4},{value:"2. Check Yarn Installation",id:"2-check-yarn-installation",level:4},{value:"3. Configure a Template",id:"3-configure-a-template",level:4},{value:"4. Activate/Deactivate Modules",id:"4-activatedeactivate-modules",level:4},{value:"5. Change Active Template",id:"5-change-active-template",level:4},{value:"6. Install Front-End Dependencies",id:"6-install-front-end-dependencies",level:4},{value:"Final Step: Clear Cache",id:"final-step-clear-cache",level:4},{value:"Insert demo data",id:"insert-demo-data",level:3},{value:"Create an admin account",id:"create-an-admin-account",level:3},{value:"Require existing modules",id:"require-existing-modules",level:3}],c={toc:s};function d(e){let{components:t,...a}=e;return(0,l.kt)("wrapper",(0,n.Z)({},c,a,{components:t,mdxType:"MDXLayout"}),(0,l.kt)("p",null,"You need to follow the requirements and have composer installed.\nWith this installation you can manage easily your Thelia version with composer, require new\ndependencies, etc."),(0,l.kt)("admonition",{type:"info"},(0,l.kt)("p",{parentName:"admonition"},"If you want to use ",(0,l.kt)("strong",{parentName:"p"},"docker")," please follow ",(0,l.kt)("a",{parentName:"p",href:"./docker"},"this")," way.")),(0,l.kt)("h3",{id:"download-the-project"},"Download the project"),(0,l.kt)("p",null,"Rename ",(0,l.kt)("inlineCode",{parentName:"p"},"YourPorject")," with the name of your project. Be aware of the version you want to install (here ",(0,l.kt)("inlineCode",{parentName:"p"},"2.5.4"),") :"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-bash"},"composer create-project thelia/thelia-project YourProject 2.5.4\n")),(0,l.kt)("p",null,"You can say ",(0,l.kt)("inlineCode",{parentName:"p"},"yes")," for the recipes."),(0,l.kt)("h3",{id:"thelia-core-installation"},"Thelia core installation"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-bash"},"cd YourProject\nphp Thelia thelia:install\n")),(0,l.kt)("p",null,"Installation will ask you some questions, like database connection. Please, use the access of your provider."),(0,l.kt)("h3",{id:"create-an-admin"},"Create an admin"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-bash"},"php Thelia admin:create\n")),(0,l.kt)("h3",{id:"thelia-modern-theme-installation"},"Thelia modern theme installation"),(0,l.kt)("h4",{id:"1-check-nodejs-version"},"1","."," Check Node.js Version"),(0,l.kt)("p",null,"Make sure you have Node.js installed and a supported version > 10.0.0"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-bash"},"node --version\n")),(0,l.kt)("p",null,"If your Node.js version is not supported, install a compatible version from ",(0,l.kt)("a",{parentName:"p",href:"https://nodejs.org"},"Node.js"),"."),(0,l.kt)("h4",{id:"2-check-yarn-installation"},"2","."," Check Yarn Installation"),(0,l.kt)("p",null,"Verify that Yarn is installed and accessible in your system."),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-bash"},"yarn --version\n")),(0,l.kt)("p",null,"If Yarn is not installed, install it by following the instructions on the ",(0,l.kt)("a",{parentName:"p",href:"https://yarnpkg.com"},"Yarn website"),"."),(0,l.kt)("h4",{id:"3-configure-a-template"},"3","."," Configure a Template"),(0,l.kt)("p",null,"Choose a front-office template. By default, the template is named ",(0,l.kt)("inlineCode",{parentName:"p"},"modern"),"."),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-bash"},"cp -r templates/frontOffice/modern templates/frontOffice/\n")),(0,l.kt)("p",null,"Replace ",(0,l.kt)("inlineCode",{parentName:"p"},"")," with your desired template name."),(0,l.kt)("h4",{id:"4-activatedeactivate-modules"},"4","."," Activate/Deactivate Modules"),(0,l.kt)("p",null,"Activate essential modules and deactivate unnecessary ones."),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-bash"},"php Thelia module:refresh\nphp Thelia module:activate OpenApi\nphp Thelia module:activate ChoiceFilter\nphp Thelia module:activate StoreSeo\nphp Thelia module:activate SmartyRedirection\nphp Thelia module:deactivate HookAdminHome\nphp Thelia module:deactivate HookAnalytics\nphp Thelia module:deactivate HookCart\nphp Thelia module:deactivate HookCustomer\nphp Thelia module:deactivate HookSearch\nphp Thelia module:deactivate HookLang\nphp Thelia module:deactivate HookCurrency\nphp Thelia module:deactivate HookNavigation\nphp Thelia module:deactivate HookProductsNew\nphp Thelia module:deactivate HookSocial\nphp Thelia module:deactivate HookNewsletter\nphp Thelia module:deactivate HookContact\nphp Thelia module:deactivate HookLinks\nphp Thelia module:deactivate HookProductsOffer\nphp Thelia module:refresh\n")),(0,l.kt)("p",null,"\u26a0\ufe0f You can ignore errors on deactivate commands; some modules might not be installed or available."),(0,l.kt)("h4",{id:"5-change-active-template"},"5","."," Change Active Template"),(0,l.kt)("p",null,"Set the active front-office template."),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-bash"},"php Thelia template:set frontOffice \n")),(0,l.kt)("p",null,"Replace ",(0,l.kt)("inlineCode",{parentName:"p"},"")," with your chosen template."),(0,l.kt)("h4",{id:"6-install-front-end-dependencies"},"6","."," Install Front-End Dependencies"),(0,l.kt)("p",null,"Navigate to your template directory and install dependencies using Yarn."),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-bash"},"cd templates/frontOffice/\nyarn install\nyarn build\n")),(0,l.kt)("h4",{id:"final-step-clear-cache"},"Final Step: Clear Cache"),(0,l.kt)("p",null,"Clear the cache to ensure all changes are applied."),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-bash"},"rm -rf ./cache\nphp Thelia assets:install web\n")),(0,l.kt)("p",null,"Depending your web server you may need to do come configuration : "),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"Guide for ",(0,l.kt)("a",{parentName:"li",href:"./apache_configuration"},"Apache")),(0,l.kt)("li",{parentName:"ul"},"Guide for ",(0,l.kt)("a",{parentName:"li",href:"./nginx_configuration"},"Nginx"))),(0,l.kt)("hr",null),(0,l.kt)("h3",{id:"insert-demo-data"},"Insert demo data"),(0,l.kt)("p",null,"Now if you want a demo data with fake but realistic products execute"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-bash"},"php local/setup/import.php\n")),(0,l.kt)("h3",{id:"create-an-admin-account"},"Create an admin account"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-bash"},"php Thelia admin:create\n")),(0,l.kt)("h3",{id:"require-existing-modules"},"Require existing modules"),(0,l.kt)("p",null,"If you want to add a module made by our community you can browse ",(0,l.kt)("a",{parentName:"p",href:"../../modules"},"this")," list and execute the ",(0,l.kt)("inlineCode",{parentName:"p"},"composer require")," command attached to it to download it.\nAfter that you can enable and disable the module in the modules pages in your store back-office."),(0,l.kt)("hr",null))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.423a9f01.js b/assets/js/runtime~main.2ca3e714.js similarity index 97% rename from assets/js/runtime~main.423a9f01.js rename to assets/js/runtime~main.2ca3e714.js index 16fe3161..ca8041e3 100644 --- a/assets/js/runtime~main.423a9f01.js +++ b/assets/js/runtime~main.2ca3e714.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,c,d,b,f={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={exports:{}};return f[e].call(c.exports,c,c.exports,r),c.exports}r.m=f,e=[],r.O=(a,c,d,b)=>{if(!c){var f=1/0;for(i=0;i=b)&&Object.keys(r.O).every((e=>r.O[e](c[o])))?c.splice(o--,1):(t=!1,b0&&e[i-1][2]>b;i--)e[i]=e[i-1];e[i]=[c,d,b]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,d){if(1&d&&(e=this(e)),8&d)return e;if("object"==typeof e&&e){if(4&d&&e.__esModule)return e;if(16&d&&"function"==typeof e.then)return e}var b=Object.create(null);r.r(b);var f={};a=a||[null,c({}),c([]),c(c)];for(var t=2&d&&e;"object"==typeof t&&!~a.indexOf(t);t=c(t))Object.getOwnPropertyNames(t).forEach((a=>f[a]=()=>e[a]));return f.default=()=>e,r.d(b,f),b},r.d=(e,a)=>{for(var c in a)r.o(a,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,c)=>(r.f[c](e,a),a)),[])),r.u=e=>"assets/js/"+({53:"935f2afb",103:"9ff6be26",110:"66406991",155:"c9b41b3e",253:"5469b766",280:"cbbfefd0",308:"a3cac651",453:"30a24c52",483:"2be63dd7",533:"b2b675dd",558:"caed07d7",641:"d6a62aa2",681:"6dc5328d",693:"a51aa74f",780:"2bdcd313",852:"dca5a587",997:"6a54b978",1044:"07f373a4",1065:"017391fb",1077:"3c5c7907",1141:"d700bc26",1207:"5fbc5cf1",1449:"af172acd",1477:"b2f554cd",1481:"46c62730",1633:"031793e1",1713:"a7023ddc",1855:"0be54f5a",1933:"4bb1fec1",1981:"5f6bb892",2091:"3c3007b7",2206:"59f0337d",2240:"03ba2219",2245:"2f973bfa",2449:"ee6884dd",2535:"814f3328",2602:"934ec8fa",2681:"6bdaca29",2748:"e9a656fe",2755:"ce572ecd",3089:"a6aa9e1f",3101:"65b61d73",3203:"40eece79",3205:"a80da1cf",3274:"6083b550",3277:"9156c4bd",3339:"79078358",3376:"e9b70530",3418:"0b3f42ec",3608:"9e4087bc",3707:"3570154c",3773:"e93956d0",3798:"c9d7a251",3889:"2181ff8b",4013:"01a85c17",4035:"8e9f0a8a",4058:"f3d39f0a",4061:"2868cdab",4128:"a09c2993",4152:"30124a02",4195:"c4f5d8e4",4226:"9118bc73",4268:"fcd8680e",4325:"dea13c39",4371:"86fb3e8c",4375:"b55da968",4459:"1e00ae35",4483:"7c0ac8c3",4503:"316f2505",4694:"bdd709f1",4731:"e80e9c5a",4794:"bdac16d6",4900:"1e37bb48",5030:"a7b50c17",5110:"e0f9d5c4",5136:"dfd1f42f",5206:"2bb6803e",5241:"0f2c8070",5272:"a2ee92e6",5325:"5b7e4280",5383:"769649e3",5451:"e1c6ef02",5488:"9ddcd411",5620:"8abebbf7",5705:"836e8d1f",5732:"efc8a6b5",5869:"65581364",5962:"e5e305b4",6030:"49dc8fc0",6081:"72327294",6103:"ccc49370",6116:"829e2366",6176:"d610846f",6234:"c07a5250",6326:"e4a390a3",6373:"961150c1",6385:"59b068d1",6446:"50b65b46",6456:"633c7dd1",6465:"99442161",6528:"7a76ab7e",6593:"557036c9",6708:"e1477e63",6775:"24636376",6938:"608ae6a4",6971:"4ae2098a",7026:"9b577d45",7033:"5f94b19d",7050:"03a034e3",7067:"a66c38d8",7178:"096bfee4",7227:"9062b583",7279:"ef2c0b3f",7374:"d275a4b2",7427:"4ba7e5a3",7506:"478d7005",7538:"3d50ab69",7645:"a7434565",7816:"f9af7f52",7918:"17896441",7920:"1a4e3797",8056:"027c31d1",8067:"ac5ba915",8236:"a0a1d3a2",8238:"9e69b966",8262:"3da22a3a",8271:"1c091541",8557:"535e366e",8588:"e9831cff",8610:"6875c492",8619:"22f7c370",8768:"7c8d9843",8850:"f2712adf",8890:"b7497212",8949:"5575518c",9035:"4c9e35b1",9104:"925d2f03",9259:"683be167",9260:"da2bb204",9330:"be3ef13c",9334:"247783bb",9507:"239f903b",9514:"1be78505",9554:"4c408752",9588:"0341eb6f",9700:"e16015ca",9735:"33542ec8",9801:"45c5f6bb",9927:"864fa7e3"}[e]||e)+"."+{53:"7e4b7337",103:"38a4a974",110:"d77eb34a",155:"f19835c9",253:"b64036ec",280:"0cc5a17b",308:"baa5d8e9",453:"e041605d",483:"11a51bfb",533:"05d35ae4",558:"865f33a2",641:"635f62ae",681:"db247847",693:"b311a2ca",780:"e0047eb2",852:"b18aa268",997:"c10f0e14",1044:"969b6685",1065:"27e4aaa8",1077:"29b18919",1141:"d10570ba",1207:"73f42508",1449:"af4093c1",1477:"4b9baf23",1481:"8f5117f0",1633:"1602849f",1713:"c6fd7582",1738:"ec65805b",1855:"262e91a3",1933:"19f06576",1981:"2b95a1d1",2040:"a8dbd35e",2091:"97d37c79",2206:"61494f65",2240:"3ad66c1b",2245:"e898c117",2449:"2d70ab6e",2535:"ebef7093",2602:"fc90cd0e",2681:"4d83edbc",2748:"a8d8857e",2755:"7a843329",3089:"7571ff6f",3101:"f3a9f30d",3203:"64a864c1",3205:"f3f544e2",3274:"774c7148",3277:"1f0a4e63",3339:"582013e9",3376:"5712c853",3418:"c7fcb852",3608:"37bef6c4",3707:"3d76edab",3773:"bf31dbbd",3798:"597a5d8a",3889:"07751ac8",4013:"c14d8a2e",4035:"c67a6314",4058:"ec1751ff",4061:"2f9fa914",4128:"c62b5b36",4152:"40cf16d6",4195:"6ab8c875",4226:"87ade8ee",4268:"4bae2706",4325:"31df97b1",4371:"b4e4f5dd",4375:"c31d16e7",4459:"9e564330",4483:"0adbc81c",4503:"2e625eed",4694:"f3aab91f",4731:"c3a5304b",4794:"144f309c",4900:"f1c1efc0",4972:"95f70968",5030:"6fb50b2e",5110:"55f13983",5136:"47df98cf",5206:"e0824164",5241:"fc239b66",5272:"0ecc4379",5325:"2c932db4",5383:"c2fe9e57",5451:"b397da24",5488:"6a7a9d45",5620:"7946c936",5705:"dc024641",5732:"67b8a986",5869:"5321892c",5962:"2c54726a",6030:"8b2af359",6048:"38f73de1",6081:"35553d24",6103:"52d4151e",6116:"456b2350",6176:"b9004d67",6234:"98065bf7",6326:"44b9358c",6373:"e8658caa",6385:"ea8772ac",6446:"41b19b61",6456:"42336c70",6465:"219fbd9e",6528:"e4b660b0",6593:"d5f4ecfd",6708:"a80df8c0",6775:"148020e3",6780:"ea2947c3",6938:"9b4f7c2f",6945:"5f668364",6971:"a6bd52ed",7026:"4f8d78f4",7033:"35b73917",7036:"0ff83d0b",7050:"2f90bc76",7067:"b03455b5",7178:"f6bf61bd",7227:"b381eff0",7279:"0075a19a",7374:"4dedf5aa",7427:"78662fa7",7506:"1e295920",7538:"fafaa0c9",7645:"6b8cd2c1",7816:"6a5b23c0",7918:"063c3ce6",7920:"7c1b6ef6",8056:"159ce56a",8067:"05b92445",8236:"92d646b1",8238:"fc964f54",8262:"c85877e0",8271:"9e72721b",8557:"025f2ecd",8588:"a51a37d5",8610:"173adb69",8619:"655bdc1e",8768:"341cc01b",8850:"e53b53eb",8890:"653618b1",8894:"dcbbe8ac",8949:"c3c7fb43",9035:"921f33fe",9104:"b33c6ca9",9259:"8388b8d8",9260:"2e562561",9330:"81835bbc",9334:"2ade091f",9507:"b1eaacf0",9514:"cdf65d9c",9554:"821c62aa",9588:"8e24b73d",9700:"a693e1bb",9735:"6b1513ef",9801:"c4983177",9927:"a045fdba"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),d={},b="thelia:",r.l=(e,a,c,f)=>{if(d[e])d[e].push(a);else{var t,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var b=d[e];if(delete d[e],t.parentNode&&t.parentNode.removeChild(t),b&&b.forEach((e=>e(c))),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",r.gca=function(e){return e={17896441:"7918",24636376:"6775",65581364:"5869",66406991:"110",72327294:"6081",79078358:"3339",99442161:"6465","935f2afb":"53","9ff6be26":"103",c9b41b3e:"155","5469b766":"253",cbbfefd0:"280",a3cac651:"308","30a24c52":"453","2be63dd7":"483",b2b675dd:"533",caed07d7:"558",d6a62aa2:"641","6dc5328d":"681",a51aa74f:"693","2bdcd313":"780",dca5a587:"852","6a54b978":"997","07f373a4":"1044","017391fb":"1065","3c5c7907":"1077",d700bc26:"1141","5fbc5cf1":"1207",af172acd:"1449",b2f554cd:"1477","46c62730":"1481","031793e1":"1633",a7023ddc:"1713","0be54f5a":"1855","4bb1fec1":"1933","5f6bb892":"1981","3c3007b7":"2091","59f0337d":"2206","03ba2219":"2240","2f973bfa":"2245",ee6884dd:"2449","814f3328":"2535","934ec8fa":"2602","6bdaca29":"2681",e9a656fe:"2748",ce572ecd:"2755",a6aa9e1f:"3089","65b61d73":"3101","40eece79":"3203",a80da1cf:"3205","6083b550":"3274","9156c4bd":"3277",e9b70530:"3376","0b3f42ec":"3418","9e4087bc":"3608","3570154c":"3707",e93956d0:"3773",c9d7a251:"3798","2181ff8b":"3889","01a85c17":"4013","8e9f0a8a":"4035",f3d39f0a:"4058","2868cdab":"4061",a09c2993:"4128","30124a02":"4152",c4f5d8e4:"4195","9118bc73":"4226",fcd8680e:"4268",dea13c39:"4325","86fb3e8c":"4371",b55da968:"4375","1e00ae35":"4459","7c0ac8c3":"4483","316f2505":"4503",bdd709f1:"4694",e80e9c5a:"4731",bdac16d6:"4794","1e37bb48":"4900",a7b50c17:"5030",e0f9d5c4:"5110",dfd1f42f:"5136","2bb6803e":"5206","0f2c8070":"5241",a2ee92e6:"5272","5b7e4280":"5325","769649e3":"5383",e1c6ef02:"5451","9ddcd411":"5488","8abebbf7":"5620","836e8d1f":"5705",efc8a6b5:"5732",e5e305b4:"5962","49dc8fc0":"6030",ccc49370:"6103","829e2366":"6116",d610846f:"6176",c07a5250:"6234",e4a390a3:"6326","961150c1":"6373","59b068d1":"6385","50b65b46":"6446","633c7dd1":"6456","7a76ab7e":"6528","557036c9":"6593",e1477e63:"6708","608ae6a4":"6938","4ae2098a":"6971","9b577d45":"7026","5f94b19d":"7033","03a034e3":"7050",a66c38d8:"7067","096bfee4":"7178","9062b583":"7227",ef2c0b3f:"7279",d275a4b2:"7374","4ba7e5a3":"7427","478d7005":"7506","3d50ab69":"7538",a7434565:"7645",f9af7f52:"7816","1a4e3797":"7920","027c31d1":"8056",ac5ba915:"8067",a0a1d3a2:"8236","9e69b966":"8238","3da22a3a":"8262","1c091541":"8271","535e366e":"8557",e9831cff:"8588","6875c492":"8610","22f7c370":"8619","7c8d9843":"8768",f2712adf:"8850",b7497212:"8890","5575518c":"8949","4c9e35b1":"9035","925d2f03":"9104","683be167":"9259",da2bb204:"9260",be3ef13c:"9330","247783bb":"9334","239f903b":"9507","1be78505":"9514","4c408752":"9554","0341eb6f":"9588",e16015ca:"9700","33542ec8":"9735","45c5f6bb":"9801","864fa7e3":"9927"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,c)=>{var d=r.o(e,a)?e[a]:void 0;if(0!==d)if(d)c.push(d[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var b=new Promise(((c,b)=>d=e[a]=[c,b]));c.push(d[2]=b);var f=r.p+r.u(a),t=new Error;r.l(f,(c=>{if(r.o(e,a)&&(0!==(d=e[a])&&(e[a]=void 0),d)){var b=c&&("load"===c.type?"missing":c.type),f=c&&c.target&&c.target.src;t.message="Loading chunk "+a+" failed.\n("+b+": "+f+")",t.name="ChunkLoadError",t.type=b,t.request=f,d[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,c)=>{var d,b,f=c[0],t=c[1],o=c[2],n=0;if(f.some((a=>0!==e[a]))){for(d in t)r.o(t,d)&&(r.m[d]=t[d]);if(o)var i=o(r)}for(a&&a(c);n{"use strict";var e,a,c,d,b,f={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={exports:{}};return f[e].call(c.exports,c,c.exports,r),c.exports}r.m=f,e=[],r.O=(a,c,d,b)=>{if(!c){var f=1/0;for(i=0;i=b)&&Object.keys(r.O).every((e=>r.O[e](c[o])))?c.splice(o--,1):(t=!1,b0&&e[i-1][2]>b;i--)e[i]=e[i-1];e[i]=[c,d,b]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,d){if(1&d&&(e=this(e)),8&d)return e;if("object"==typeof e&&e){if(4&d&&e.__esModule)return e;if(16&d&&"function"==typeof e.then)return e}var b=Object.create(null);r.r(b);var f={};a=a||[null,c({}),c([]),c(c)];for(var t=2&d&&e;"object"==typeof t&&!~a.indexOf(t);t=c(t))Object.getOwnPropertyNames(t).forEach((a=>f[a]=()=>e[a]));return f.default=()=>e,r.d(b,f),b},r.d=(e,a)=>{for(var c in a)r.o(a,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,c)=>(r.f[c](e,a),a)),[])),r.u=e=>"assets/js/"+({53:"935f2afb",103:"9ff6be26",110:"66406991",155:"c9b41b3e",253:"5469b766",280:"cbbfefd0",308:"a3cac651",453:"30a24c52",483:"2be63dd7",533:"b2b675dd",558:"caed07d7",641:"d6a62aa2",681:"6dc5328d",693:"a51aa74f",780:"2bdcd313",852:"dca5a587",997:"6a54b978",1044:"07f373a4",1065:"017391fb",1077:"3c5c7907",1141:"d700bc26",1207:"5fbc5cf1",1449:"af172acd",1477:"b2f554cd",1481:"46c62730",1633:"031793e1",1713:"a7023ddc",1855:"0be54f5a",1933:"4bb1fec1",1981:"5f6bb892",2091:"3c3007b7",2206:"59f0337d",2240:"03ba2219",2245:"2f973bfa",2449:"ee6884dd",2535:"814f3328",2602:"934ec8fa",2681:"6bdaca29",2748:"e9a656fe",2755:"ce572ecd",3089:"a6aa9e1f",3101:"65b61d73",3203:"40eece79",3205:"a80da1cf",3274:"6083b550",3277:"9156c4bd",3339:"79078358",3376:"e9b70530",3418:"0b3f42ec",3608:"9e4087bc",3707:"3570154c",3773:"e93956d0",3798:"c9d7a251",3889:"2181ff8b",4013:"01a85c17",4035:"8e9f0a8a",4058:"f3d39f0a",4061:"2868cdab",4128:"a09c2993",4152:"30124a02",4195:"c4f5d8e4",4226:"9118bc73",4268:"fcd8680e",4325:"dea13c39",4371:"86fb3e8c",4375:"b55da968",4459:"1e00ae35",4483:"7c0ac8c3",4503:"316f2505",4694:"bdd709f1",4731:"e80e9c5a",4794:"bdac16d6",4900:"1e37bb48",5030:"a7b50c17",5110:"e0f9d5c4",5136:"dfd1f42f",5206:"2bb6803e",5241:"0f2c8070",5272:"a2ee92e6",5325:"5b7e4280",5383:"769649e3",5451:"e1c6ef02",5488:"9ddcd411",5620:"8abebbf7",5705:"836e8d1f",5732:"efc8a6b5",5869:"65581364",5962:"e5e305b4",6030:"49dc8fc0",6081:"72327294",6103:"ccc49370",6116:"829e2366",6176:"d610846f",6234:"c07a5250",6326:"e4a390a3",6373:"961150c1",6385:"59b068d1",6446:"50b65b46",6456:"633c7dd1",6465:"99442161",6528:"7a76ab7e",6593:"557036c9",6708:"e1477e63",6775:"24636376",6938:"608ae6a4",6971:"4ae2098a",7026:"9b577d45",7033:"5f94b19d",7050:"03a034e3",7067:"a66c38d8",7178:"096bfee4",7227:"9062b583",7279:"ef2c0b3f",7374:"d275a4b2",7427:"4ba7e5a3",7506:"478d7005",7538:"3d50ab69",7645:"a7434565",7816:"f9af7f52",7918:"17896441",7920:"1a4e3797",8056:"027c31d1",8067:"ac5ba915",8236:"a0a1d3a2",8238:"9e69b966",8262:"3da22a3a",8271:"1c091541",8557:"535e366e",8588:"e9831cff",8610:"6875c492",8619:"22f7c370",8768:"7c8d9843",8850:"f2712adf",8890:"b7497212",8949:"5575518c",9035:"4c9e35b1",9104:"925d2f03",9259:"683be167",9260:"da2bb204",9330:"be3ef13c",9334:"247783bb",9507:"239f903b",9514:"1be78505",9554:"4c408752",9588:"0341eb6f",9700:"e16015ca",9735:"33542ec8",9801:"45c5f6bb",9927:"864fa7e3"}[e]||e)+"."+{53:"7e4b7337",103:"38a4a974",110:"d77eb34a",155:"f19835c9",253:"b64036ec",280:"0cc5a17b",308:"baa5d8e9",453:"e041605d",483:"11a51bfb",533:"05d35ae4",558:"865f33a2",641:"635f62ae",681:"db247847",693:"b311a2ca",780:"e0047eb2",852:"b18aa268",997:"c10f0e14",1044:"969b6685",1065:"27e4aaa8",1077:"29b18919",1141:"d10570ba",1207:"73f42508",1449:"af4093c1",1477:"4b9baf23",1481:"8f5117f0",1633:"1602849f",1713:"c6fd7582",1738:"ec65805b",1855:"262e91a3",1933:"19f06576",1981:"2b95a1d1",2040:"a8dbd35e",2091:"97d37c79",2206:"61494f65",2240:"3603c795",2245:"e898c117",2449:"2d70ab6e",2535:"ebef7093",2602:"fc90cd0e",2681:"4d83edbc",2748:"a8d8857e",2755:"7a843329",3089:"7571ff6f",3101:"f3a9f30d",3203:"64a864c1",3205:"f3f544e2",3274:"774c7148",3277:"1f0a4e63",3339:"582013e9",3376:"5712c853",3418:"c7fcb852",3608:"37bef6c4",3707:"3d76edab",3773:"bf31dbbd",3798:"597a5d8a",3889:"07751ac8",4013:"c14d8a2e",4035:"c67a6314",4058:"ec1751ff",4061:"2f9fa914",4128:"c62b5b36",4152:"40cf16d6",4195:"6ab8c875",4226:"87ade8ee",4268:"4bae2706",4325:"31df97b1",4371:"b4e4f5dd",4375:"c31d16e7",4459:"9e564330",4483:"0adbc81c",4503:"2e625eed",4694:"f3aab91f",4731:"c3a5304b",4794:"144f309c",4900:"f1c1efc0",4972:"95f70968",5030:"6fb50b2e",5110:"55f13983",5136:"47df98cf",5206:"e0824164",5241:"fc239b66",5272:"0ecc4379",5325:"2c932db4",5383:"c2fe9e57",5451:"b397da24",5488:"6a7a9d45",5620:"7946c936",5705:"dc024641",5732:"67b8a986",5869:"5321892c",5962:"2c54726a",6030:"8b2af359",6048:"38f73de1",6081:"35553d24",6103:"52d4151e",6116:"456b2350",6176:"b9004d67",6234:"98065bf7",6326:"99b4f7de",6373:"e8658caa",6385:"ea8772ac",6446:"41b19b61",6456:"42336c70",6465:"219fbd9e",6528:"e4b660b0",6593:"d5f4ecfd",6708:"a80df8c0",6775:"148020e3",6780:"ea2947c3",6938:"9b4f7c2f",6945:"5f668364",6971:"a6bd52ed",7026:"4f8d78f4",7033:"35b73917",7036:"0ff83d0b",7050:"2f90bc76",7067:"b03455b5",7178:"f6bf61bd",7227:"b381eff0",7279:"0075a19a",7374:"4dedf5aa",7427:"78662fa7",7506:"1e295920",7538:"fafaa0c9",7645:"6b8cd2c1",7816:"6a5b23c0",7918:"063c3ce6",7920:"7c1b6ef6",8056:"159ce56a",8067:"05b92445",8236:"92d646b1",8238:"fc964f54",8262:"c85877e0",8271:"9e72721b",8557:"025f2ecd",8588:"a51a37d5",8610:"173adb69",8619:"655bdc1e",8768:"341cc01b",8850:"e53b53eb",8890:"653618b1",8894:"dcbbe8ac",8949:"c3c7fb43",9035:"921f33fe",9104:"b33c6ca9",9259:"8388b8d8",9260:"2e562561",9330:"81835bbc",9334:"2ade091f",9507:"b1eaacf0",9514:"cdf65d9c",9554:"821c62aa",9588:"8e24b73d",9700:"a693e1bb",9735:"6b1513ef",9801:"c4983177",9927:"a045fdba"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),d={},b="thelia:",r.l=(e,a,c,f)=>{if(d[e])d[e].push(a);else{var t,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var b=d[e];if(delete d[e],t.parentNode&&t.parentNode.removeChild(t),b&&b.forEach((e=>e(c))),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",r.gca=function(e){return e={17896441:"7918",24636376:"6775",65581364:"5869",66406991:"110",72327294:"6081",79078358:"3339",99442161:"6465","935f2afb":"53","9ff6be26":"103",c9b41b3e:"155","5469b766":"253",cbbfefd0:"280",a3cac651:"308","30a24c52":"453","2be63dd7":"483",b2b675dd:"533",caed07d7:"558",d6a62aa2:"641","6dc5328d":"681",a51aa74f:"693","2bdcd313":"780",dca5a587:"852","6a54b978":"997","07f373a4":"1044","017391fb":"1065","3c5c7907":"1077",d700bc26:"1141","5fbc5cf1":"1207",af172acd:"1449",b2f554cd:"1477","46c62730":"1481","031793e1":"1633",a7023ddc:"1713","0be54f5a":"1855","4bb1fec1":"1933","5f6bb892":"1981","3c3007b7":"2091","59f0337d":"2206","03ba2219":"2240","2f973bfa":"2245",ee6884dd:"2449","814f3328":"2535","934ec8fa":"2602","6bdaca29":"2681",e9a656fe:"2748",ce572ecd:"2755",a6aa9e1f:"3089","65b61d73":"3101","40eece79":"3203",a80da1cf:"3205","6083b550":"3274","9156c4bd":"3277",e9b70530:"3376","0b3f42ec":"3418","9e4087bc":"3608","3570154c":"3707",e93956d0:"3773",c9d7a251:"3798","2181ff8b":"3889","01a85c17":"4013","8e9f0a8a":"4035",f3d39f0a:"4058","2868cdab":"4061",a09c2993:"4128","30124a02":"4152",c4f5d8e4:"4195","9118bc73":"4226",fcd8680e:"4268",dea13c39:"4325","86fb3e8c":"4371",b55da968:"4375","1e00ae35":"4459","7c0ac8c3":"4483","316f2505":"4503",bdd709f1:"4694",e80e9c5a:"4731",bdac16d6:"4794","1e37bb48":"4900",a7b50c17:"5030",e0f9d5c4:"5110",dfd1f42f:"5136","2bb6803e":"5206","0f2c8070":"5241",a2ee92e6:"5272","5b7e4280":"5325","769649e3":"5383",e1c6ef02:"5451","9ddcd411":"5488","8abebbf7":"5620","836e8d1f":"5705",efc8a6b5:"5732",e5e305b4:"5962","49dc8fc0":"6030",ccc49370:"6103","829e2366":"6116",d610846f:"6176",c07a5250:"6234",e4a390a3:"6326","961150c1":"6373","59b068d1":"6385","50b65b46":"6446","633c7dd1":"6456","7a76ab7e":"6528","557036c9":"6593",e1477e63:"6708","608ae6a4":"6938","4ae2098a":"6971","9b577d45":"7026","5f94b19d":"7033","03a034e3":"7050",a66c38d8:"7067","096bfee4":"7178","9062b583":"7227",ef2c0b3f:"7279",d275a4b2:"7374","4ba7e5a3":"7427","478d7005":"7506","3d50ab69":"7538",a7434565:"7645",f9af7f52:"7816","1a4e3797":"7920","027c31d1":"8056",ac5ba915:"8067",a0a1d3a2:"8236","9e69b966":"8238","3da22a3a":"8262","1c091541":"8271","535e366e":"8557",e9831cff:"8588","6875c492":"8610","22f7c370":"8619","7c8d9843":"8768",f2712adf:"8850",b7497212:"8890","5575518c":"8949","4c9e35b1":"9035","925d2f03":"9104","683be167":"9259",da2bb204:"9260",be3ef13c:"9330","247783bb":"9334","239f903b":"9507","1be78505":"9514","4c408752":"9554","0341eb6f":"9588",e16015ca:"9700","33542ec8":"9735","45c5f6bb":"9801","864fa7e3":"9927"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,c)=>{var d=r.o(e,a)?e[a]:void 0;if(0!==d)if(d)c.push(d[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var b=new Promise(((c,b)=>d=e[a]=[c,b]));c.push(d[2]=b);var f=r.p+r.u(a),t=new Error;r.l(f,(c=>{if(r.o(e,a)&&(0!==(d=e[a])&&(e[a]=void 0),d)){var b=c&&("load"===c.type?"missing":c.type),f=c&&c.target&&c.target.src;t.message="Loading chunk "+a+" failed.\n("+b+": "+f+")",t.name="ChunkLoadError",t.type=b,t.request=f,d[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,c)=>{var d,b,f=c[0],t=c[1],o=c[2],n=0;if(f.some((a=>0!==e[a]))){for(d in t)r.o(t,d)&&(r.m[d]=t[d]);if(o)var i=o(r)}for(a&&a(c);n