You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+86-39Lines changed: 86 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,75 +1,124 @@
1
-
# xCore Docs
2
-
3
-
This is the source code for the xCore Docs.
4
-
5
-
If you find some issues with the documentation or want to add to it, please fork this repo and open a pull request.
6
-
7
-
It's a good idea to tell me that you are working on some part of the website. This maximises the chance, that your changes will be merged to the website.
8
-
9
-
## Running the website locally
10
-
11
-
Building and running the site locally requires a recent `extended` version of [Hugo](https://gohugo.io).
1
+
<palign="center">
2
+
<a>
3
+
<h1 align="center">xCore Docs</h1>
4
+
<img align="center" src="./documents/banner.jpg">
5
+
</a>
6
+
</p>
7
+
<br>
8
+
<palign="center">
9
+
This is the source code for the <ahref="https://core.x-tech.online/">xCore Docs</a>.
10
+
</p>
11
+
12
+
<br>
13
+
<hr>
14
+
<br>
15
+
16
+
<palign="center">
17
+
If you find some issues with the documentation or want to add to it, please fork this repo and open a pull request.<br>It's a good idea to tell me that you are working on some part of the website. This maximises the chance, that your changes will be merged to the website.
18
+
</p>
19
+
20
+
<br>
21
+
<hr>
22
+
<br>
23
+
24
+
<ul>
25
+
<li><ahref="#running-local">Running the website locally...</a></li>
26
+
<ul>
27
+
<li><ahref="#running-local-hugo">on Bare Metal</a></li>
Once you've made your working copy of the site repo, change to the repo root folder, install the required modules:
16
56
17
-
```
57
+
```bash
18
58
npm install --no-bin-links
19
59
```
20
60
21
61
and finally run:
22
62
23
-
```
63
+
```bash
24
64
hugo server
25
65
```
26
66
27
-
## Running a container locally
67
+
<br>
28
68
29
-
You can run this inside a [Docker](https://docs.docker.com/)
30
-
container, the container runs with a volume bound to the `docsy-example`
31
-
folder. This approach doesn't require you to install any dependencies other
32
-
than [Docker Desktop](https://www.docker.com/products/docker-desktop) on
33
-
Windows and Mac, and [Docker Compose](https://docs.docker.com/compose/install/)
34
-
on Linux.
69
+
<h3id="running-local-container">
70
+
Running the website locally on Podman/Docker
71
+
</h3>
35
72
36
-
1. Build the docker image
73
+
_to be writen..._
37
74
38
-
```bash
39
-
docker-compose build
40
-
```
41
75
42
-
1. Run the built image
76
+
<br>
43
77
78
+
<h3id="running-local-docker-compose">
79
+
Running the website locally on Docker Compose
80
+
</h3>
81
+
82
+
You can run this inside a container _([Docker](https://docs.docker.com/) or [Podman](https://podman.io/))_, the container runs with a volume bound to the `docsy-example` folder. This approach doesn't require you to install any dependencies other than [Docker Desktop](https://www.docker.com/products/docker-desktop) on Windows and Mac, and [Docker Compose](https://docs.docker.com/compose/install/) on Linux.
83
+
84
+
- Build the docker image
44
85
```bash
45
-
docker-compose up
86
+
dockercompose build
46
87
```
47
88
48
-
> NOTE: You can run both commands at once with `docker-compose up --build`.
89
+
- Run the built image
90
+
```bash
91
+
docker compose up
92
+
```
93
+
> [!TIP]
94
+
> You can run both commands at once with `docker compose up --build`.
49
95
50
-
1. Verify that the service is working.
96
+
- Verify that the service is working.
51
97
52
98
Open your web browser and type `http://localhost:1313` in your navigation bar,
53
-
This opens a local instance of the homepage. You can now make
99
+
This opens a local instance of the this homepage. You can now make
54
100
changes to the website and those changes will immediately show up in your
55
101
browser after you save (not on Windows though. Hot reload only works on the non-dockerized hugo!).
56
102
57
103
### Cleanup
58
104
59
-
To stop Docker Compose, on your terminal window, press **Ctrl + C**.
105
+
To stop Docker Compose, on your terminal window, press <kbd>Ctrl</kbd>+<kbd>C</kbd>.
For more information see the [Docker Compose documentation](https://docs.docker.com/compose/gettingstarted/).
68
112
69
-
## Troubleshooting
113
+
<br>
114
+
<hr>
115
+
<br>
70
116
71
-
As you run the website locally, you may run into the following error:
117
+
<h2id="troubleshooting">
118
+
Troubleshooting
119
+
</h2>
72
120
121
+
As you run the website locally, you may run into the following error:
73
122
```
74
123
➜ hugo server
75
124
@@ -83,7 +132,6 @@ This error occurs if you have not installed the extended version of Hugo.
83
132
See this [section](https://www.docsy.dev/docs/get-started/docsy-as-module/installation-prerequisites/#install-hugo) of the user guide for instructions on how to install Hugo.
84
133
85
134
Or you may encounter the following error:
86
-
87
135
```
88
136
➜ hugo server
89
137
@@ -92,4 +140,3 @@ Error: failed to download modules: binary with name "go" not found
92
140
93
141
This error occurs if you have not installed the `go` programming language on your system.
94
142
See this [section](https://www.docsy.dev/docs/get-started/docsy-as-module/installation-prerequisites/#install-go-language) of the user guide for instructions on how to install `go`.
Copy file name to clipboardExpand all lines: content/en/docs/interfaces/_index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ In addition to the interfaces available via the SODIMM connector, the xCore boar
57
57
-**CSI (Camera Serial Interface)**: Direct connection for a camera module using the CSI interface.
58
58
-**DSI (Display Serial Interface)**: Direct connection for a display using the DSI interface.
59
59
-**SD Card Interface (for CM4 Lite)**: Provides SD card storage access for Raspberry Pi CM4 Lite models.
60
-
-**Fan Connector**: Allows you to connect a cooling fan to manage thermal performance for the CM4.
60
+
-**Fan Connector**: Allows you to connect a cooling fan to manage thermal performance for the CM4_(It is the same connector as the [Pi 5](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-5-fan-connector-pinout) and controllable by GPIO6)._
61
61
62
62
These additional interfaces enable the xCore platform to fully leverage the capabilities of the Raspberry Pi CM4, offering high-speed data transfer, camera and display connectivity.
0 commit comments