├── .gitignore ├── .npmignore ├── README.md ├── index.js ├── package.json ├── partials ├── awards.hbs ├── basics.hbs ├── education.hbs ├── interests.hbs ├── languages.hbs ├── publications.hbs ├── references.hbs ├── skills.hbs ├── volunteer.hbs └── work.hbs ├── resume.hbs └── style.css /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | resume.html 4 | resume.pdf 5 | resume.json 6 | .DS_Store 7 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | resume.html 4 | resume.pdf 5 | resume.json 6 | .DS_Store 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Boilerplate theme [](https://www.npmjs.org/package/jsonresume-theme-boilerplate) 2 | 3 | This is the boilerplate theme for [JSON Resume](http://jsonresume.org/). 4 | 5 | ## Getting started 6 | 7 | To get started with theme development, this is what you'll need: 8 | 9 | - [node.js](http://howtonode.org/how-to-install-nodejs) 10 | - [npm](http://howtonode.org/introduction-to-npm) 11 | 12 | If you're on Linux, you can simply run: 13 | 14 | ``` 15 | sudo apt-get install nodejs-legacy npm 16 | ``` 17 | 18 | Or if you're on OSX and got [Homebrew](http://brew.sh/) installed: 19 | ``` 20 | brew install node 21 | ``` 22 | 23 | ### Install the command line 24 | 25 | We're going to use the official [resume-cli](https://github.com/jsonresume/resume-cli) to run our development server. 26 | 27 | Go ahead and install it: 28 | 29 | ``` 30 | sudo npm install -g resume-cli 31 | ``` 32 | 33 | ### Download theme 34 | 35 | Lets go ahead and download a [copy of the repository](https://github.com/jsonresume/jsonresume-theme-boilerplate/archive/master.zip). 36 | 37 | ### Install npm packages 38 | 39 | We need to install the dependencies. `cd` into the theme folder we just downloaded and run: 40 | 41 | ```bash 42 | sudo npm install 43 | ``` 44 | 45 | This will read the local `package.json` and install the packages listed under `dependencies`. 46 | 47 | ### Serve theme 48 | 49 | While inside the theme folder, simply run: 50 | 51 | ``` 52 | resume serve 53 | ``` 54 | 55 | You should now see this message: 56 | 57 | ``` 58 | Preview: http://localhost:4000 59 | Press ctrl-c to stop 60 | ``` 61 | 62 | Congratulations, you've made it! 63 | 64 | __The theme development can now begin.__ 65 | 66 | ## Development 67 | 68 | ### Overview 69 | 70 | Now that you have your boilerplate theme installed, go through a quick overview of each of the files needed for your JSONResume theme: 71 | 72 | * `package.json`: Your package.json is required by all npm packages. Everytime you want to release a new update of your theme, you'll need to update it's version number. 73 | * `index.js`: This is the file that will return the needed HTML to the theme server. You can use it to process some things with your theme first, but we'll talk about that a bit later. 74 | * `resume.hbs`: This is your actual template. This file is sent to the `index.js` for it to send to the theme server. 75 | * `style.css`: This is where all the CSS of your project goes. Since the `index.js` only returns HTML, the contents of this file are put between ` 13 | 14 | 15 |
16 | 17 |