1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
node_modules
|
||||
*.spk
|
||||
.DS_Store
|
||||
|
BIN
.sandstorm/app-graphics/appgrid-128x128.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
.sandstorm/app-graphics/grain-24x24.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
BIN
.sandstorm/app-graphics/market-150x150.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
BIN
.sandstorm/app-graphics/market-big-300x300.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
.sandstorm/app-graphics/screenshot1.png
Normal file
After Width: | Height: | Size: 107 KiB |
BIN
.sandstorm/app-graphics/screenshot2.png
Normal file
After Width: | Height: | Size: 73 KiB |
@ -48,10 +48,10 @@ const pkgdef :Spk.PackageDefinition = (
|
||||
# https://github.com/sandstorm-io/sandstorm/blob/master/src/sandstorm/package.capnp
|
||||
icons = (
|
||||
# Various icons to represent the app in various contexts.
|
||||
#appGrid = (svg = embed "path/to/appgrid-128x128.svg"),
|
||||
#grain = (svg = embed "path/to/grain-24x24.svg"),
|
||||
#market = (svg = embed "path/to/market-150x150.svg"),
|
||||
#marketBig = (svg = embed "path/to/market-big-300x300.svg"),
|
||||
appGrid = (png = (dpi1x = embed "app-graphics/appgrid-128x128.png")),
|
||||
grain = (png = (dpi1x = embed "app-graphics/grain-24x24.png")),
|
||||
market = (png = (dpi1x = embed "app-graphics/market-150x150.png")),
|
||||
marketBig = (png = (dpi1x = embed "app-graphics/market-big-300x300.png")),
|
||||
),
|
||||
|
||||
website = "https://gohugo.io",
|
||||
@ -123,9 +123,8 @@ const pkgdef :Spk.PackageDefinition = (
|
||||
# Screenshots to use for marketing purposes. Examples below.
|
||||
# Sizes are given in device-independent pixels, so if you took these
|
||||
# screenshots on a Retina-style high DPI screen, divide each dimension by two.
|
||||
|
||||
(width = 1280, height = 773, png = embed "screenshot1.png"),
|
||||
(width = 1280, height = 773, png = embed "screenshot2.png"),
|
||||
(width = 1366, height = 672, png = embed "app-graphics/screenshot1.png"),
|
||||
(width = 1366, height = 672, png = embed "app-graphics/screenshot2.png"),
|
||||
],
|
||||
changeLog = (defaultText = embed "changelog.md"),
|
||||
# Documents the history of changes in Github-flavored markdown format (with the same restrictions
|
||||
|
Before Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 82 KiB |
34
README.md
Normal file
@ -0,0 +1,34 @@
|
||||
Hugo Sandstorm package
|
||||
===========================
|
||||
|
||||
This is the [Sandstorm](https://sandstorm.io) package of [Hugo](https://gohugo.io/).
|
||||
|
||||
![Hugo screenshot](.sandstorm/app-graphics/screenshot2.png "Hugo administration view in Sandstorm")
|
||||
|
||||
# How to
|
||||
|
||||
The package is done with [vagrant-spk](https://github.com/sandstorm-io/vagrant-spk), a tool designed to help app developers package apps for [Sandstorm](https://sandstorm.io).
|
||||
|
||||
You can follow the below mentioned steps to make your own package or to contribute.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
You will need to install:
|
||||
- [Vagrant](https://www.vagrantup.com/)
|
||||
- [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
|
||||
- Git
|
||||
|
||||
## Step by Step
|
||||
|
||||
```
|
||||
git clone https://github.com/sandstorm-io/vagrant-spk
|
||||
git clone https://github.com/ndarilek/hugo-sandstorm
|
||||
export PATH=$(pwd)/vagrant-spk:$PATH
|
||||
cd hugo-sandstorm
|
||||
vagrant-spk vm up
|
||||
vagrant-spk dev
|
||||
```
|
||||
|
||||
visit [http://local.sandstorm.io:6080/](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.
|