2020-02-20 01:16:28 +00:00
|
|
|
# Simple Systems Website
|
|
|
|
|
2020-04-10 20:23:17 +00:00
|
|
|
Built using [Hugo](https://gohugo.io/getting-started/installing/)
|
|
|
|
|
2020-02-20 01:16:28 +00:00
|
|
|
## Local development
|
|
|
|
```
|
2020-04-10 20:23:17 +00:00
|
|
|
hugo server
|
2020-02-20 01:16:28 +00:00
|
|
|
```
|
|
|
|
|
2020-06-18 15:20:07 +00:00
|
|
|
Development can also be run using Docker:
|
|
|
|
```shell script
|
|
|
|
docker build --no-cache -f Dockerfile.dev -t website-fe . && \
|
|
|
|
docker run -it -p 1313:1313 --mount source=$(pwd),target=/src,type=bind --rm website-fe
|
|
|
|
```
|
|
|
|
|
2020-04-10 20:23:17 +00:00
|
|
|
## Production
|
|
|
|
To build the production site, run the following command:
|
2020-02-20 01:16:28 +00:00
|
|
|
```
|
2020-04-10 20:23:17 +00:00
|
|
|
hugo --minify
|
2020-02-20 01:16:28 +00:00
|
|
|
```
|
|
|
|
|
2020-04-10 20:23:17 +00:00
|
|
|
The resources will be stored in the `./public` directory.
|
2020-02-20 01:16:28 +00:00
|
|
|
|
|
|
|
## Managing Job Posts
|
|
|
|
|
2020-04-10 20:23:17 +00:00
|
|
|
* To add a job post, create the markdown file in `content/jobs`.
|
|
|
|
* To remove a job post, remove its markdown file from `content/jobs`.
|
2020-02-20 01:16:28 +00:00
|
|
|
|
|
|
|
## Managing Blog Posts
|
|
|
|
|
2020-04-10 20:23:17 +00:00
|
|
|
* To add a blog post, create the markdown file in `content/blog`.
|
|
|
|
* To remove a blog post, remove its markdown file from `content/blog`.
|