diff --git a/.sandstorm/README.md b/.sandstorm/README.md new file mode 100644 index 000000000..467993cd8 --- /dev/null +++ b/.sandstorm/README.md @@ -0,0 +1,12 @@ +# HLedger Web for Sandstorm + +## Build instructions + +- Clone the repository to your local machine +- [Install vagrant-spk](https://docs.sandstorm.io/en/latest/vagrant-spk/installation/) +- Navigate your terminal to your local hledger repository folder +- Run `vagrant-spk vm up` +- Run `vagrant-spk dev` to run the app in Sandstorm dev mode +- Visit http://local.sandstorm.io:6080 in your browser to see changes and test +- Press Ctrl-C to exit dev mode +- Run `vagrant-spk pack hledger.spk` to create the Sandstorm package file \ No newline at end of file diff --git a/.sandstorm/sandstorm-pkgdef.capnp b/.sandstorm/sandstorm-pkgdef.capnp index 5ffc7b7c1..ce6627ae2 100644 --- a/.sandstorm/sandstorm-pkgdef.capnp +++ b/.sandstorm/sandstorm-pkgdef.capnp @@ -124,8 +124,9 @@ const pkgdef :Spk.PackageDefinition = ( # 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 = 746, height = 795, jpeg = embed "path/to/screenshot-1.jpeg"), - #(width = 640, height = 480, png = embed "path/to/screenshot-2.png"), + (width = 1920, height = 1040, png = embed "screenshot1.png"), + (width = 1920, height = 1040, png = embed "screenshot2.png"), + (width = 1920, height = 1040, png = embed "screenshot3.png") ], changeLog = (defaultText = embed "changelog.md"), # Documents the history of changes in Github-flavored markdown format (with the same restrictions diff --git a/.sandstorm/screenshot1.png b/.sandstorm/screenshot1.png new file mode 100644 index 000000000..9bcea37d5 Binary files /dev/null and b/.sandstorm/screenshot1.png differ diff --git a/.sandstorm/screenshot2.png b/.sandstorm/screenshot2.png new file mode 100644 index 000000000..33f1b9b8e Binary files /dev/null and b/.sandstorm/screenshot2.png differ diff --git a/.sandstorm/screenshot3.png b/.sandstorm/screenshot3.png new file mode 100644 index 000000000..5afc69079 Binary files /dev/null and b/.sandstorm/screenshot3.png differ