website/README.md

33 lines
907 B
Markdown
Raw Normal View History

2024-08-14 00:32:48 +03:00
# website | MatterLinux website
![](https://git.matterlinux.xyz/matter/website/actions/workflows/docker.yml/badge.svg)
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
Web server can be deployed with docker compose using the following configuration file:
2024-08-14 00:32:48 +03:00
```yaml
services:
website:
container_name: matterwebsite
image: git.matterlinux.xyz/matter/website
2024-08-14 00:32:48 +03:00
ports:
- "127.0.0.1:9878:9878"
2024-08-14 00:32:48 +03:00
volumes:
- "./content:/app/content"
restart: unless-stopped
2023-12-09 19:25:38 +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
```
2024-08-14 00:32:48 +03:00
### Managing content
Website content can be managed by editing JSON and markdown files
under the `content` direcotry.
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)
repository.