-
Notifications
You must be signed in to change notification settings - Fork 8
Building Wekan for Sandstorm
Lauri Ojansivu edited this page Jun 26, 2019
·
18 revisions
sudo apt-get update && sudo apt-get -y dist-upgrade
Sandstorm issue about kernel bug
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.14-xenial/linux-headers-4.4.14-040414_4.4.14-040414.201606241434_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.14-xenial/linux-headers-4.4.14-040414-generic_4.4.14-040414.201606241434_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.14-xenial/linux-image-4.4.14-040414-generic_4.4.14-040414.201606241434_amd64.deb
sudo dpkg -i linux-headers-4.4.14-040414_4.4.14-040414.201606241434_all.deb \
linux-headers-4.4.14-040414-generic_4.4.14-040414.201606241434_amd64.deb \
linux-image-4.4.14-040414-generic_4.4.14-040414.201606241434_amd64.deb
Info source at VirtualBox forums
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 20
From Devices / Install Guest Additions CD image...
Start install:
curl https://install.sandstorm.io | bash
Use options for development / dev install.
Edit Sandstorm config:
sudo nano /opt/sandstorm/sandstorm.conf
Uncomment this line this way, so Sandstorm packages are not updated automatically:
#UPDATE_CHANNEL=dev
sudo useradd -G sandstorm wekan
cd ~/repos
curl https://dl.sandstorm.io/meteor-spk-0.4.0.tar.xz | tar Jxf -
echo "export PATH=$PATH:~/repos/meteor-spk-0.4.0" >> ~/.bashrc
sudo reboot
cd ~/repos
./stop.wekan.sh
Check did Wekan stop really:
ps aux | grep 'node main.js'
You may need to kill it:
sudo kill -9 PID-NUMBER-HERE
(This process should be improved).
cd ~/repos
./rebuild-wekan.sh
cd ~/repos/wekan
meteor-spk dev
App in now available from Sandstorm server. Ctrl-C to disconnect.
sudo sandstorm admin-token
cd ~/repos/wekan
nano sandstorm-pkgdef.capnp
You may need to change these when everything works. AFAIK appVersion 20 is not released yet, as xet7 did increment it to 20. Sandstorm will reject wrong metadata, so it can be checked later.
appVersion = 20,
# Increment this for every release.
appMarketingVersion = (defaultText = "0.32.0~2017-07-30"),
# Human-readable presentation of the app version.
meteor-spk pack wekan-0.32.spk
spk publish wekan-0.32.spk