Website generation with Couscous

This commit is contained in:
Milos Stojanovic
2022-05-25 12:15:34 +02:00
parent 84396c28fb
commit 00461b515f
2 changed files with 3 additions and 3 deletions

View File

@@ -150,8 +150,8 @@ vendor/bin/phpstan analyse ./backend
npm run lint
npm run e2e</code></pre>
<h2 id="deployment">Deployment</h2>
<p>Set the website document root to <code>/dist</code> directory. This is also known as 'public' folder.</p>
<p>NOTE: For security reasons <code>/dist</code> is the ONLY folder you want to be exposed through the web. Everything else should be outside of your web root, this way people cant access any of your important files through the browser.</p>
<p>Set the website document root to <code>filegator/dist</code> directory. This is also known as 'public' folder.</p>
<p>NOTE: For security reasons <code>filegator/dist</code> is the ONLY folder you want to be exposed through the web. Everything else should be outside of your web root, this way people cant access any of your important files through the browser. If you run the script from the root folder, you will see the message <strong>'Development mode'</strong> as a security warning.</p>
</section>
</div>

View File

@@ -144,7 +144,7 @@
<li>Login with default credentials <code>admin/admin123</code></li>
<li>Change default admin's password</li>
</ul>
<p>NOTE: For security reasons <code>/dist</code> is the ONLY folder you want to be exposed through the web. Everything else should be outside of your web root, this way people cant access any of your important files through the browser.</p>
<p>NOTE: For security reasons <code>filegator/dist</code> is the ONLY folder you want to be exposed through the web. Everything else should be outside of your web root, this way people cant access any of your important files through the browser. If you run the script from the root folder, you will see the message <strong>'Development mode'</strong> as a security warning.</p>
<h2 id="install-on-fresh-ubuntu-1804-or-debian-103">Install on fresh Ubuntu 18.04 or Debian 10.3</h2>
<p>On a new server (<a href="https://m.do.co/c/93994ebda78d">get $100 in server credits</a>) login as root and enter this into the shell:</p>
<pre><code>apt update