项目作者: rabbit-of-caerbannog

项目描述 :
Dockerized HackMyResume with all themes installed.
高级语言: Dockerfile
项目地址: git://github.com/rabbit-of-caerbannog/hackmyresume-builder.git
创建时间: 2020-09-30T16:19:09Z
项目社区:https://github.com/rabbit-of-caerbannog/hackmyresume-builder

开源协议:MIT License

下载


hackmyresume-builder

Dockerized HackMyResume with all themes installed.

What and Why

HackMyResume is a nice tool that renders your JSON resume according to a template. These templates can be available as node modules and several of them exist. It’s not trivial to hunt down each one, install them, render it, just to get a glimpse at it. This repository intends to relief that pain with a few things:

  • A static page with an example output directory with the multiple generated pages. Uses sample data from example/.
  • A docker image with hackmyresume and all themes from npm installed and a few other defaults, that’ll see ahead.
  • A repository that you can clone, run make, Ctrl-C, edit, make and so on, to quickly iterate on your JSON resume without thinking about dependencies.

Quickstart

  1. git clone https://github.com/rabbit-of-caerbannog/hackmyresume-builder
  2. cd hackmyresume-builder/example
  3. make

This will get you up and started. Just tweak the data inside example/data to your liking and keep makeing until you like what you see. Includes a docker-compose for those who prefer it.

Usage

If you just want to take a quick run at it and see the results, you can run the following command:

  1. docker run --rm -v "$PWD/out":/out rabbitofcaerbannog/hackmyresume-builder

The out volume is always required to keep the docker generated files. They’ll also be owned by root, so you probably also want to always run sudo chown -R "$USER:$USER" out afterwards.

Once you have your resume.json (and whatever pictures/assets you need), you put them up in a folder and mount them as well. We can mount it as read-only to make sure it doesn’t mess with our stuff.

  1. docker run --rm -v "$PWD/out:/out" -v "$PWD/data:/data:ro" rabbitofcaerbannog/hackmyresume-builder

Finally, if you’ve chosen one or more themes that you want to build, you can pass the THEME_LIST environment variable.

  1. docker run --rm -v "$PWD/out:/out" -v "$PWD/data:/data:ro" --env THEME_LIST=jsonresume-theme-rocketspacer,jsonresume-theme-even rabbitofcaerbannog/hackmyresume-builder

Credit Due

This Dockerfile was based on tmjd/docker-hackmyresume.
The above Dockerfile was based on alrayyes/docker-alpine-hackmyresume-bash.