drawio/etc/sandstorm
David Benson 70fda591e3 6.5.4 release
Former-commit-id: 8c7b425b92
2017-04-20 11:13:54 +01:00
..
images 5.6.0.1 release 2016-09-06 18:39:09 +02:00
build.sh 5.6.0.4 release 2016-09-12 13:14:09 +02:00
ChangeLog 6.5.4 release 2017-04-20 11:13:54 +01:00
description.md Sandstorm updates 2016-09-09 13:50:36 +01:00
Makefile 5.7.2.2 release 2016-10-27 16:53:53 +01:00
pgp-keyring Sandstorm updates 2016-09-09 13:50:36 +01:00
pgp-signature 5.6.0.4 release 2016-09-12 13:16:01 +02:00
README.md 6.5.4 release 2017-04-20 11:13:54 +01:00
rootFiles 6.0.1.7 release 2016-11-23 13:47:55 +01:00
sandstorm-pkgdef.capnp 6.5.4 release 2017-04-20 11:13:54 +01:00
server.c++ Properly support gzipped assets. 2016-11-26 17:29:44 -08:00
shortDesc.txt 5.6.0.1 release 2016-09-06 18:39:09 +02:00
ssindex.html 6.5.4 release 2017-04-20 11:13:54 +01:00
stage.sh 6.5.4 release 2017-04-20 11:13:54 +01:00

  • Get the draw.io project from github
  • Navigate to drawio/etc/sandstorm
  • Create a directory named build
  • Install vagrant-spk
  • cd build
  • vagrant-spk setupvm diy
  • vagrant-spk vm up
  • cd ..
  • Invoke ./stage.sh to stage the build files. gfind is gnu find on OS X.
  • Log into the vagrant box vagrant-spk vm ssh
  • sudo apt-get install g++
  • Install latest capnp
  • In the vm, under /opt/app/.sandstorm run make dev

To package

  • Transfer the correct sandstorm-keyring file to /host-dot-sandstorm
  • Update the sandstorm-pkgdef.capnp to the correct version (re-stage prior to packaging)
  • In the host under /opt/app/.sandstorm spk pack --keyring=/host-dot-sandstorm/sandstorm-keyring --pkg-def=/opt/app/.sandstorm/sandstorm-pkgdef.capnp:pkgdef /home/vagrant/sandstorm-package.spk && spk verify --details /home/vagrant/sandstorm-package.spk && mv /home/vagrant/sandstorm-package.spk /opt/app/sandstorm-drawio.spk
  • In the host under /opt/app spk publish -k /host-dot-sandstorm/sandstorm-keyring sandstorm-drawio.spk