Move CNAME from the docs to the DOC..
This commit is contained in:
parent
de6040a14d
commit
ec4ccb4a20
@ -39,14 +39,15 @@ You can request a new feature by submitting an [Issue](https://github.com/larado
|
|||||||
Laradock uses [Hugo](https://gohugo.io/) as website generator tool, with the [Material Docs theme](http://themes.gohugo.io/theme/material-docs/). You might need to check their docs quickly.
|
Laradock uses [Hugo](https://gohugo.io/) as website generator tool, with the [Material Docs theme](http://themes.gohugo.io/theme/material-docs/). You might need to check their docs quickly.
|
||||||
|
|
||||||
|
|
||||||
1. Install [Hugo](https://gohugo.io/) on your machine (easy steps).
|
1. Install [Hugo](https://gohugo.io/) on your machine (easy thing).
|
||||||
2. Open the `DOCUMENTATION/_settings/content` and search for the markdown file you want to edit (every folder is a section in the menu).
|
2. Open the `DOCUMENTATION/_settings/content` and search for the markdown file you want to edit (every folder represents a section in the menu).
|
||||||
3. After done editing, run the this command `hugo` to generate the updated site inside the `docs` folder (It's recommended to delete all files form the `/docs` folder, except the `CNAME` file, before running the `hugo` command).
|
3. Delete the `/docs` folder from the root.
|
||||||
|
4. When you finish editing, run the `hugo` command to generate the HTML docs (in the `/docs`).
|
||||||
|
|
||||||
#### To Host the website locally
|
### To Host the website locally
|
||||||
Go to `DOCUMENTATION/_settings` in your terminal and run `hugo serve` to host the website locally.
|
Go to `DOCUMENTATION/_settings` in your terminal and run `hugo serve` to host the website locally.
|
||||||
|
|
||||||
#### Edit the sidebar
|
### Edit the sidebar
|
||||||
To add a new section to the sidebar or edit existing one, you need to edit this file `DOCUMENTATION/_settings/config.toml`.
|
To add a new section to the sidebar or edit existing one, you need to edit this file `DOCUMENTATION/_settings/config.toml`.
|
||||||
|
|
||||||
|
|
||||||
|
@ -176,6 +176,11 @@ However to view the logs of all the other containers (MySQL, PHP-FPM,...) you ca
|
|||||||
docker logs {container-name}
|
docker logs {container-name}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
More [options](https://docs.docker.com/compose/reference/logs/)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker logs -f {container-name}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -447,6 +447,11 @@ example for <code>mysql</code> it will be <code>mysql/Dockerfile</code>.</p>
|
|||||||
<pre><code class="language-bash">docker logs {container-name}
|
<pre><code class="language-bash">docker logs {container-name}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
<p>More <a href="https://docs.docker.com/compose/reference/logs/">options</a></p>
|
||||||
|
|
||||||
|
<pre><code class="language-bash">docker logs -f {container-name}
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="PHP"></a></p>
|
<a name="PHP"></a></p>
|
||||||
|
|
||||||
|
@ -150,6 +150,11 @@ example for <code>mysql</code> it will be <code>mysql/Dockerfi
|
|||||||
<pre><code class="language-bash">docker logs {container-name}
|
<pre><code class="language-bash">docker logs {container-name}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
<p>More <a href="https://docs.docker.com/compose/reference/logs/">options</a></p>
|
||||||
|
|
||||||
|
<pre><code class="language-bash">docker logs -f {container-name}
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="PHP"></a></p>
|
<a name="PHP"></a></p>
|
||||||
|
|
||||||
|
@ -840,6 +840,11 @@ example for <code>mysql</code> it will be <code>mysql/Dockerfile</code>.</p>
|
|||||||
<pre><code class="language-bash">docker logs {container-name}
|
<pre><code class="language-bash">docker logs {container-name}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
<p>More <a href="https://docs.docker.com/compose/reference/logs/">options</a></p>
|
||||||
|
|
||||||
|
<pre><code class="language-bash">docker logs -f {container-name}
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="PHP"></a></p>
|
<a name="PHP"></a></p>
|
||||||
|
|
||||||
|
@ -552,6 +552,11 @@ example for <code>mysql</code> it will be <code>mysql/Dockerfi
|
|||||||
<pre><code class="language-bash">docker logs {container-name}
|
<pre><code class="language-bash">docker logs {container-name}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
<p>More <a href="https://docs.docker.com/compose/reference/logs/">options</a></p>
|
||||||
|
|
||||||
|
<pre><code class="language-bash">docker logs -f {container-name}
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
<p><br>
|
<p><br>
|
||||||
<a name="PHP"></a></p>
|
<a name="PHP"></a></p>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user