website/README.md

22 lines
708 B
Markdown
Raw Normal View History

2023-12-09 16:25:38 +00:00
# website | Matterlinux Website
Soruce code of Matterlinux's offical website, which is
2023-12-09 16:27:37 +00:00
hosted at [matterlinux.xyz](https://matterlinux.xyz)
2023-12-09 16:25:38 +00:00
2023-12-09 16:29:07 +00:00
### Deployment
2023-12-09 16:31:51 +00:00
After cloning this repository, web server can be built and deployed with docker:
2023-12-09 16:25:38 +00:00
```
docker build --tag matterwebsite .
docker run -d --name matterweb \
-p 127.0.0.1:9878:9878 \
2023-12-09 16:31:51 +00:00
-v $PWD/content:/app/content \
2023-12-09 16:25:38 +00:00
matterwebsite
```
### 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 at
[website-content](https://git.matterlinux.xyz/matterlinux/website-content)
repository.