From a6a5d841fd70e9aceb6fd757450c0691f3346661 Mon Sep 17 00:00:00 2001 From: Mathias Biilmann Christensen Date: Tue, 5 Jul 2016 11:38:18 -0700 Subject: Update dependencies and add a short README --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..560f6ed --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# Hugo + Webpack Boilerplate + +This is a boilerplate for using Hugo as a static site generator and Weback as the +asset pipeline. + +It's setup to use post-css and babel for CSS and JavaScript. + +## Usage + +Clone this repository and run: + +```bash +npm install +npm start +``` + +Then visit http://localhost:3009/ + +To build your static output, use: + +```bash +npm run build +``` + +## Deploying to netlify + +Push your clone to your own GitHub repo, then start a new netlify project, pick +your repository and configure it like this: + +* **Build Command:** npm run build +* **Directory:** dist + +Now netlify will build and deploy your site whenever you push to git. -- cgit v1.3