Website generation with Couscous

This commit is contained in:
Milos Stojanovic
2021-01-13 11:55:28 +01:00
parent cfeb457c72
commit 38965387e4
3 changed files with 10 additions and 3 deletions

View File

@@ -145,6 +145,12 @@
'editable' => ['.txt', '.css', '.js', '.ts', '.html', '.php', '.json', '.md'],
'date_format' => 'YY/MM/DD hh:mm:ss', // see: https://momentjs.com/docs/#/displaying/format/
'guest_redirection' => '', // useful for external auth adapters
// filter starts with separator => full path has to match, example: '/all/one/filegator/demo.txt'
// filter ends with separator => filter only folders (a file with the same name will be shown), example: '.git/'
// neither of above => it is a file and could be in every folder, example: '.htaccess'
// both of above => full folder path has to match, example: '/homes/web/filegator/.npm/'
'filter_entries' => ['Recycle.bin/', 'File System Information/', '.DS_Store', '@eaDir/', '#recycle/'],
],</code></pre>
<h2 id="additional-html">Additional HTML</h2>
<p>You can add additional html to the head and body like this:</p>

View File

@@ -136,7 +136,7 @@
<h2 id="download-precompiled-build">Download precompiled build</h2>
<p>Precompiled build is created for non-developers. In this version, the frontend (html, css and javascript) is compiled for you and the source code is removed so the final archive contains only minimum files.</p>
<ul>
<li>Download: <a href="https://github.com/filegator/static/raw/master/builds/filegator_v7.4.6.zip">v7.4.6</a></li>
<li>Download: <a href="https://github.com/filegator/static/raw/master/builds/filegator_v7.4.7.zip">v7.4.7</a></li>
<li>Unzip files and upload them to your PHP server</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>
@@ -151,8 +151,8 @@
apt install -y wget unzip php apache2 libapache2-mod-php php-zip
cd /var/www/
wget https://github.com/filegator/static/raw/master/builds/filegator_v7.4.6.zip
unzip filegator_v7.4.6.zip &amp;&amp; rm filegator_v7.4.6.zip
wget https://github.com/filegator/static/raw/master/builds/filegator_v7.4.7.zip
unzip filegator_v7.4.7.zip &amp;&amp; rm filegator_v7.4.7.zip
chown -R www-data:www-data filegator/
chmod -R 775 filegator/

View File

@@ -153,6 +153,7 @@
<li><code>galician</code></li>
<li><code>russian</code></li>
<li><code>hungarian</code></li>
<li><code>swedish</code></li>
</ul>
<p>Please help us translating FileGator to your language by submitting a Pull Request on GitHub.</p>
<h2 id="how-to-translate">How to translate</h2>