2020-04-10 12:06:19 +00:00
|
|
|
# Hugo Sandstorm package
|
2017-03-13 19:18:41 +00:00
|
|
|
|
|
|
|
This is the [Sandstorm](https://sandstorm.io) package of [Hugo](https://gohugo.io/).
|
2020-04-10 13:13:08 +00:00
|
|
|
The version of Hugo in this build is 0.69.0.
|
2017-03-13 19:18:41 +00:00
|
|
|
|
2020-04-10 12:06:19 +00:00
|
|
|
## Development
|
2017-03-13 19:18:41 +00:00
|
|
|
|
2020-04-10 12:06:19 +00:00
|
|
|
The package is built with [vagrant-spk](https://github.com/sandstorm-io/vagrant-spk),
|
|
|
|
a tool designed to help app developers package apps for [Sandstorm](https://sandstorm.io).
|
2017-03-13 19:18:41 +00:00
|
|
|
|
|
|
|
You can follow the below mentioned steps to make your own package or to contribute.
|
|
|
|
|
2020-04-10 12:06:19 +00:00
|
|
|
### Prerequisites
|
2017-03-13 19:18:41 +00:00
|
|
|
|
|
|
|
You will need to install:
|
2020-04-10 12:06:19 +00:00
|
|
|
|
|
|
|
* [Vagrant](https://www.vagrantup.com/)
|
|
|
|
* [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
|
|
|
|
* Git
|
2017-03-13 19:18:41 +00:00
|
|
|
|
|
|
|
## Step by Step
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://github.com/sandstorm-io/vagrant-spk
|
2020-04-10 12:06:19 +00:00
|
|
|
git clone https://github.com/johnbintz/hugo-sandstorm
|
2017-03-13 19:18:41 +00:00
|
|
|
export PATH=$(pwd)/vagrant-spk:$PATH
|
|
|
|
cd hugo-sandstorm
|
|
|
|
vagrant-spk vm up
|
|
|
|
vagrant-spk dev
|
|
|
|
```
|
|
|
|
|
2020-04-10 12:06:19 +00:00
|
|
|
Visit [http://local.sandstorm.io:6080/](http://local.sandstorm.io:6080/) in a web browser.
|
2017-03-13 19:18:41 +00:00
|
|
|
|
2020-04-10 12:06:19 +00:00
|
|
|
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](https://docs.sandstorm.io/en/latest/developing/publishing-apps/).
|
2020-04-26 20:51:55 +00:00
|
|
|
|
|
|
|
## Upgrades
|
|
|
|
|
|
|
|
* You'll need Ruby 2.6 and `gem install httparty`.
|
|
|
|
* Run `bin/upgrade_hugo <new version>`.
|
|
|
|
* Follow the directions.
|