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
|
|
|
|
```
|
2023-12-09 18:38:10 +00:00
|
|
|
|
|
|
|
### Managing Content
|
|
|
|
Website content can be managed by editing JSON and markdown files
|
|
|
|
under the `content` direcotry.
|
|
|
|
|
2024-01-07 18:20:31 +00:00
|
|
|
Matterlinux's website content directory can be found in the
|
|
|
|
[content](https://git.matterlinux.xyz/Matter/content)
|
2023-12-09 18:38:10 +00:00
|
|
|
repository.
|