Website generation with Couscous

This commit is contained in:
Milos Stojanovic
2019-06-21 12:00:20 +02:00
parent e2a58034cd
commit 8fb05e6d0c
6 changed files with 13 additions and 13 deletions

View File

@@ -72,12 +72,12 @@
</p>
<ul class="nav nav-pills nav-stacked">
<li class="active">
<li class="">
<a href="https://docs.filegator.io/configuration/basic.html">
Basic
</a>
</li>
<li class="">
<li class="active">
<a href="https://docs.filegator.io/configuration/auth.html">
Auth
</a>
@@ -126,7 +126,7 @@
<section class="col-sm-offset-3 col-lg-offset-2 col-sm-9 col-lg-10">
<h2 id="basic">Basic</h2>
<p>All services are set with reasonable defaults. For regular users there is no need to change anything. The script should work out of the box.</p>
<p>You can edit <code>/configuration.php</code> file to change the basic things like logo image, title, language and upload restrictions.</p>
<p>You can edit <code>configuration.php</code> file to change the basic things like logo image, title, language and upload restrictions.</p>
<p>Note: if you've made a mistake in configuration file (forgot to close a quote?) the script will fail to load or throw an error. Please use provided default <code>configuration_sample.php</code> to put everything back to normal.</p>
<pre><code> 'frontend_config' =&gt; [
'app_name' =&gt; 'FileGator',
@@ -148,7 +148,7 @@
],
],</code></pre>
<h2 id="frontend-tweaks">Frontend tweaks</h2>
<p>To change default color scheme and other options, edit <code>/frontend/App.vue</code>. When you're done, recompile with <code>npm run build</code>.</p>
<p>To change default color scheme and other options, edit <code>frontend/App.vue</code> When you're done, recompile with <code>npm run build</code></p>
<pre><code>// Primary color
$primary: #34B891;
$primary-invert: findColorInvert($primary);

View File

@@ -126,7 +126,7 @@
<section class="col-sm-offset-3 col-lg-offset-2 col-sm-9 col-lg-10">
<h2 id="configuring-logging-service">Configuring Logging service</h2>
<p>Logging is provided trough the powerful <a href="https://github.com/Seldaek/monolog">Monolog</a> library. Please check their docs for more info.</p>
<p>Default handler will use simple <code>/private/logs/app.log</code> file to store application logs and errors.</p>
<p>Default handler will use simple <code>private/logs/app.log</code> file to store application logs and errors.</p>
<pre><code> 'Filegator\Services\Logger\LoggerInterface' =&gt; [
'handler' =&gt; '\Filegator\Services\Logger\Adapters\MonoLogger',
'config' =&gt; [

View File

@@ -133,7 +133,7 @@
<li><code>http://example.com/?r=/user/{user_id}&amp;param1=val1</code></li>
</ul>
<h2 id="routes-file">Routes file</h2>
<p>Routes file is located here <code>/backend/Controllers/routes.php</code>. Each route in the routes array looks like this:</p>
<p>Routes file is located here <code>backend/Controllers/routes.php</code> Each route in the routes array looks like this:</p>
<pre><code> [
'route' =&gt; [
'GET', '/download/{path_encoded}', '\Filegator\Controllers\DownloadController@download',

View File

@@ -163,7 +163,7 @@
],
</code></pre>
<h2 id="sftp-adapter">SFTP Adapter</h2>
<p>You must require additional library <code>composer require league/flysystem-sftp</code>.</p>
<p>You must require additional library <code>composer require league/flysystem-sftp</code></p>
<p>See official <a href="https://flysystem.thephpleague.com/docs/adapter/sftp/">documentation</a>.</p>
<pre><code> 'Filegator\Services\Storage\Filesystem' =&gt; [
'handler' =&gt; '\Filegator\Services\Storage\Filesystem',
@@ -183,7 +183,7 @@
],
</code></pre>
<h2 id="dropbox-adapter">Dropbox Adapter</h2>
<p>You must require additional library <code>composer require spatie/flysystem-dropbox</code>.</p>
<p>You must require additional library <code>composer require spatie/flysystem-dropbox</code></p>
<p>See official <a href="https://flysystem.thephpleague.com/docs/adapter/dropbox/">documentation</a></p>
<pre><code> 'Filegator\Services\Storage\Filesystem' =&gt; [
'handler' =&gt; '\Filegator\Services\Storage\Filesystem',