Website generation with Couscous

This commit is contained in:
Milos Stojanovic
2020-04-03 09:26:32 +02:00
parent 536e3eba9b
commit 848bd8beae
2 changed files with 7 additions and 7 deletions

View File

@@ -139,7 +139,6 @@ sudo chmod -R 777 repository/
composer install
npm install
npm run build</code></pre>
<p>We also have a sample docker image <a href="https://github.com/filegator/demo">here</a></p>
<h2 id="compiles-and-hot-reloads">Compiles and hot-reloads</h2>
<p>The following command will launch backend and frontend on ports 8081 and 8080:</p>
<pre><code>npm run serve</code></pre>

View File

@@ -129,7 +129,7 @@
<section class="col-sm-offset-3 col-lg-offset-2 col-sm-9 col-lg-10">
<h2 id="requirements">Requirements</h2>
<h2 id="minimum-requirements">Minimum Requirements</h2>
<ul>
<li>PHP 7.1.3+</li>
</ul>
@@ -138,15 +138,15 @@
<ul>
<li>Download: <a href="https://github.com/filegator/static/raw/master/builds/filegator_v7.3.4.zip">v7.3.4</a></li>
<li>Unzip files and upload them to your PHP server</li>
<li>Make sure your webserver can read and write to <code>/repository</code> and <code>/private</code> folders</li>
<li>Set the website document root to <code>/dist</code> directory. This is also known as 'public' folder</li>
<li>Visit web page, if something goes wrong check <code>/private/logs/app.log</code></li>
<li>Make sure your webserver can read and write to <code>filegator/repository/</code> and <code>filegator/private/</code> folders</li>
<li>Set the website document root to <code>filegator/dist/</code> directory. This is also known as 'public' folder</li>
<li>Visit web page, if something goes wrong check <code>filegator/private/logs/app.log</code></li>
<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>
<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, login as root and copy/paste this into the shell:</p>
<p>On a new server (<a href="https://m.do.co/c/93994ebda78d">get $100 in credits for servers here</a>) login as root and copy/paste this into the shell:</p>
<pre><code>apt update
apt install -y wget unzip apache2 php libapache2-mod-php php-zip
@@ -166,7 +166,8 @@ echo "
a2dissite 000-default.conf
a2ensite filegator.conf
systemctl restart apache2
</code></pre>
exit</code></pre>
<p>Open your browser and go to <a href="http://your_server_ip_address">http://your_server_ip_address</a></p>
<h2 id="show-your-support">Show your support</h2>
<p>Please star this repository on <a href="https://github.com/filegator/filegator/stargazers">GitHub</a> if this project helped you!</p>