resume-manpage/README.md

52 lines
1.2 KiB
Markdown
Raw Normal View History

2022-05-23 17:05:30 +06:00
# intro
2022-05-24 16:18:30 +06:00
[![status-badge](https://build.bdeshi.space/api/badges/bdeshi/resume-manpage/status.svg)](https://build.bdeshi.space/bdeshi/resume-manpage)
2022-05-23 17:05:30 +06:00
2024-05-17 10:04:51 +06:00
Look!
it's a pdf!
it's a manpage!
no, it's my online resume! 🦸
2022-05-23 17:05:30 +06:00
created with [pug][pug] and [sass][sass], build with [parcel][parcel].
## setup
```bash
2022-11-18 00:20:19 +06:00
# select node version
2024-05-17 10:04:51 +06:00
$ nvm install
2022-11-18 00:20:19 +06:00
$ nvm use
2022-05-23 17:05:30 +06:00
# install dependencies
$ yarn install
# build the output
$ yarn build
# build results are here
$ ls dist
```
## contents
`/index.pug`: the starting point of the template.
`/vars.pug`: sample variables. copy it to `/vars.local.pug` and edit it.
`/includes`: template parts are located here.
- `include /somefile` from anywhere will look for `somefile` in project root
2022-05-24 16:18:30 +06:00
- `include ./somefile` will be relative to current pug file.
2022-05-23 17:05:30 +06:00
`/assets`: css/sass, scripts, images etc are located here.
`/assets/styles/index.sass`: the starting point of the sass template.
2024-05-17 10:04:51 +06:00
`/meta`: additional resources that aren't directly used to build the template.
- `/meta/iac`: terraform iac config for the backend services hosting the rendered site.
2022-05-23 17:05:30 +06:00
---
[pug]: https://pugjs.org
[sass]: https://sass-lang.com
[parcel]: https://parceljs.org