Git-based Sandstorm wrapper around the Hugo static site generator
5abfe6a901
The VirtualBox guest environment had difficulty working with stretch, and upgrading and cleaning out the cruft seemed to reduce .spk size. Hopefully it will be OK. |
||
---|---|---|
.sandstorm | ||
bin | ||
components | ||
layouts | ||
pages | ||
plugins | ||
sandstorm-integration | ||
template | ||
.babelrc | ||
.cloudcmd.menu.js | ||
.gitignore | ||
.nvmrc | ||
.ruby-version | ||
CHANGELOG.md | ||
description.md | ||
hugo-version | ||
nuxt.config.js | ||
package.json | ||
post-receive | ||
README.md | ||
server.js | ||
yarn.lock |
Hugo Sandstorm package
This is the Sandstorm package of Hugo.
The version of Hugo in this build is listed in hugo-version
.
Development
The package is built with vagrant-spk, a tool designed to help app developers package apps for Sandstorm.
You can follow the below mentioned steps to make your own package or to contribute.
Prerequisites
You will need to install:
- Vagrant
- VirtualBox
- Git
Step by Step
git clone https://github.com/sandstorm-io/vagrant-spk
git clone https://github.com/johnbintz/hugo-sandstorm
export PATH=$(pwd)/vagrant-spk:$PATH
cd hugo-sandstorm
vagrant-spk vm up
vagrant-spk dev
Visit http://local.sandstorm.io:6080/ in a web browser.
Note: when you want to fork this repo and create actual app packages for the app store you would need either the original app key or create a new one and make your own version of the app.
Upgrades
- You'll need Ruby 2.6 and
gem install httparty
. - Run
bin/upgrade_hugo <new version>
. - Follow the directions.