Skip to content

Instantly share code, notes, and snippets.

@oshliaer
Last active December 6, 2018 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oshliaer/ec3c769f7081c229ffdf711a09e49d7c to your computer and use it in GitHub Desktop.
Save oshliaer/ec3c769f7081c229ffdf711a09e49d7c to your computer and use it in GitHub Desktop.
site
node_modules
package-lock.json

What’s wrong with the highlight?

The issue

Packing the repo

$> sh ./pack.sh

OR

$> tar czf site.tar.gz site && rm -rf ./site

Test it

$> git clone https://gist.github.com/oshliaer/47d150374ecece4a9e1547ea72eec7b3 ./hugo_plural_form_russian
$> cd ./hugo_plural_form_russian
$> sh ./unpack.sh

OR

$> cd ./hugo_plural_form_russian && tar xzf site.tar.gz && cd ./site && hugo serve
tar czf site.tar.gz site && rm -rf ./site
{
"name": "ec3c769f7081c229ffdf711a09e49d7c",
"version": "1.0.0",
"description": "## Packing the repo",
"main": "Code.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+ssh://git@gist.github.com/ec3c769f7081c229ffdf711a09e49d7c.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://gist.github.com/ec3c769f7081c229ffdf711a09e49d7c"
},
"homepage": "https://gist.github.com/ec3c769f7081c229ffdf711a09e49d7c",
"devDependencies": {
"surge": "^0.20.1"
}
}
tar xzf site.tar.gz && cd ./site && hugo serve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment