mirror of
https://github.com/filegator/filegator.git
synced 2025-08-13 12:14:07 +02:00
Website generation with Couscous
This commit is contained in:
@@ -139,7 +139,6 @@ sudo chmod -R 777 repository/
|
|||||||
composer install
|
composer install
|
||||||
npm install
|
npm install
|
||||||
npm run build</code></pre>
|
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>
|
<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>
|
<p>The following command will launch backend and frontend on ports 8081 and 8080:</p>
|
||||||
<pre><code>npm run serve</code></pre>
|
<pre><code>npm run serve</code></pre>
|
||||||
|
13
install.html
13
install.html
@@ -129,7 +129,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<section class="col-sm-offset-3 col-lg-offset-2 col-sm-9 col-lg-10">
|
<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>
|
<ul>
|
||||||
<li>PHP 7.1.3+</li>
|
<li>PHP 7.1.3+</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -138,15 +138,15 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Download: <a href="https://github.com/filegator/static/raw/master/builds/filegator_v7.3.4.zip">v7.3.4</a></li>
|
<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>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>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>/dist</code> directory. This is also known as 'public' folder</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>/private/logs/app.log</code></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>Login with default credentials <code>admin/admin123</code></li>
|
||||||
<li>Change default admin's password</li>
|
<li>Change default admin's password</li>
|
||||||
</ul>
|
</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 can’t access any of your important files through the browser.</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 can’t 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>
|
<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
|
<pre><code>apt update
|
||||||
apt install -y wget unzip apache2 php libapache2-mod-php php-zip
|
apt install -y wget unzip apache2 php libapache2-mod-php php-zip
|
||||||
|
|
||||||
@@ -166,7 +166,8 @@ echo "
|
|||||||
a2dissite 000-default.conf
|
a2dissite 000-default.conf
|
||||||
a2ensite filegator.conf
|
a2ensite filegator.conf
|
||||||
systemctl restart apache2
|
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>
|
<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>
|
<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>
|
<p>Please star this repository on <a href="https://github.com/filegator/filegator/stargazers">GitHub</a> if this project helped you!</p>
|
||||||
|
Reference in New Issue
Block a user