2024-08-14 00:32:48 +03:00
|
|
|
# website | MatterLinux website
|
2025-01-28 08:13:58 +03:00
|
|
|
|
|
|
|
![](https://git.matterlinux.xyz/matter/website/actions/workflows/docker.yml/badge.svg)
|
|
|
|
|
2024-01-17 15:06:53 +03:00
|
|
|
Soruce code of Matterlinux's offical website, which is
|
|
|
|
located at [matterlinux.xyz](https://matterlinux.xyz)
|
2023-12-09 19:25:38 +03:00
|
|
|
|
2023-12-09 16:29:07 +00:00
|
|
|
### Deployment
|
2025-01-28 08:13:58 +03:00
|
|
|
Web server can be deployed with docker compose using the following configuration file:
|
2024-08-14 00:32:48 +03:00
|
|
|
```yaml
|
|
|
|
services:
|
|
|
|
website:
|
2025-01-28 08:13:58 +03:00
|
|
|
container_name: matterwebsite
|
|
|
|
image: git.matterlinux.xyz/matter/website
|
2024-08-14 00:32:48 +03:00
|
|
|
ports:
|
2025-01-28 08:13:58 +03:00
|
|
|
- "127.0.0.1:9878:9878"
|
2024-08-14 00:32:48 +03:00
|
|
|
volumes:
|
2025-01-28 08:13:58 +03:00
|
|
|
- "./content:/app/content"
|
|
|
|
restart: unless-stopped
|
2023-12-09 19:25:38 +03:00
|
|
|
```
|
2025-01-28 08:13:58 +03:00
|
|
|
After saving the configuration file, you can run the docker container:
|
2024-08-14 00:32:48 +03:00
|
|
|
```bash
|
2024-01-17 15:22:46 +03:00
|
|
|
docker-compose up -d
|
2023-12-09 19:25:38 +03:00
|
|
|
```
|
2023-12-09 21:38:10 +03:00
|
|
|
|
2024-08-14 00:32:48 +03:00
|
|
|
### Managing content
|
2023-12-09 21:38:10 +03:00
|
|
|
Website content can be managed by editing JSON and markdown files
|
|
|
|
under the `content` direcotry.
|
|
|
|
|
2025-01-28 08:13:58 +03:00
|
|
|
MatterLinux's website content directory can be found in the
|
2024-01-07 21:20:31 +03:00
|
|
|
[content](https://git.matterlinux.xyz/Matter/content)
|
2023-12-09 21:38:10 +03:00
|
|
|
repository.
|