Ocelot-Social/assets/index.html-DPsqaJ67.js
2025-12-10 10:05:00 +00:00

4 lines
4.3 KiB
JavaScript

import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as a,a as i,o as t}from"./app-BnOEODOX.js";const s="/assets/maintenance-page-D66YmD3C.png",r={};function o(l,e){return t(),a("div",null,e[0]||(e[0]=[i('<h1 id="maintenance-mode" tabindex="-1"><a class="header-anchor" href="#maintenance-mode"><span>Maintenance Mode</span></a></h1><p>The maintenance mode shows a translatable page that tells the user that we are right back, because we are working on the server.</p><figure><img src="'+s+`" alt="Maintenance Mode Screen Shot" tabindex="0" loading="lazy"><figcaption>Maintenance Mode Screen Shot</figcaption></figure><h2 id="running-the-maintenance-page-or-service" tabindex="-1"><a class="header-anchor" href="#running-the-maintenance-page-or-service"><span>Running The Maintenance Page Or Service</span></a></h2><p>At the moment the maintenance mode can only be locally tested with Docker-Compose.</p><p>::: tabs @tab:active Locally Without Docker</p><p>{% hint style=&quot;info&quot; %} TODO: Implement a locally running maintenance mode! Without Docker … {% endhint %}</p><p>The command …</p><div class="language-bash line-numbers-mode" data-highlighter="shiki" data-ext="bash" data-title="bash" style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34;"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code><span class="line"><span style="--shiki-light:#A0A1A7;--shiki-light-font-style:italic;--shiki-dark:#7F848E;--shiki-dark-font-style:italic;"># running the maintenance mode in webapp/ folder</span></span>
<span class="line"><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF;">$</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379;"> yarn</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379;"> generate:maintenance</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div></div></div><p>… is unfortunatelly <strong>not(!)</strong> working at the moment. This is because the code is rewritten to be easy usable for Docker-Compose. Therefore we lost this possibility.</p><p>@tab Locally With Docker</p><p>To get the maintenance mode running use the command:</p><div class="language-bash line-numbers-mode" data-highlighter="shiki" data-ext="bash" data-title="bash" style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34;"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code><span class="line"><span style="--shiki-light:#A0A1A7;--shiki-light-font-style:italic;--shiki-dark:#7F848E;--shiki-dark-font-style:italic;"># start Docker in the main folder</span></span>
<span class="line"><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF;">$</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379;"> docker-compose</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379;"> up</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div></div></div><p>And the maintenance mode page or service will be started as well in an own container. In the browser you can reach it under <code>http://localhost:3001/</code>.</p><p>:::</p>`,15)]))}const d=n(r,[["render",o],["__file","index.html.vue"]]),p=JSON.parse('{"path":"/webapp/maintenance/","title":"Maintenance Mode","lang":"en-US","frontmatter":{},"headers":[{"level":2,"title":"Running The Maintenance Page Or Service","slug":"running-the-maintenance-page-or-service","link":"#running-the-maintenance-page-or-service","children":[]}],"git":{"createdTime":1765361042000,"updatedTime":1765361042000,"contributors":[{"name":"dependabot[bot]","email":"49699333+dependabot[bot]@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":0.53,"words":160},"filePathRelative":"webapp/maintenance/README.md","localizedDate":"December 10, 2025","excerpt":"\\n<p>The maintenance mode shows a translatable page that tells the user that we are right back, because we are working on the server.</p>\\n<figure><figcaption>Maintenance Mode Screen Shot</figcaption></figure>\\n<h2>Running The Maintenance Page Or Service</h2>\\n<p>At the moment the maintenance mode can only be locally tested with Docker-Compose.</p>"}');export{d as comp,p as data};