website-public/README.md

52 lines
724 B
Markdown
Raw Normal View History

# [milksad.info](https://milksad.info)
Web page source.
## Instructions
1. Install `make`.
2. Install `docker`
3. Build Docker container
```shell
$ make build
```
4. Serve site at `0.0.0.0:4000`:
```shell
$ make serve
```
2023-11-10 16:51:27 +00:00
### Publish Docker container to Registry
2023-11-10 16:51:27 +00:00
1. Use `docker login` with a permission token with write package scope
2. Tag container with repo name
```shell
2023-11-10 16:51:27 +00:00
docker tag milksad-distrust-co git.distrust.co/milksad/website
```
2023-11-10 16:51:27 +00:00
3. Push container to container registry
```sh
2023-11-10 16:51:27 +00:00
docker push git.distrust.co/milksad/website
```
### Generate Static Files
1. Output static files in `_site` directory:
```shell
$ make _site
```
### Cleanup
1. Remove all build artifacts:
```shell
$ make fullclean
```