At Virtual Appliance there is build scripts and all dependencies installed already.
To have Node 100% CPU fixes: Increase ulimit for node in systemd config to 100 000
Wekan:
Wekan Meteor Bundle:
Wekan for Sandstorm:
curl https://install.sandstorm.io | bash
, select dev installwget https://releases.wekan.team/node
chmod +x node
mv node ~/projects/meteor-spk/meteor-spk-0.4.0/meteor-spk.deps/bin/
export PATH=$PATH:$HOME/projects/meteor-spk/meteor-spk-0.4.0
source ~/.bashrc
cd wekan && meteor-spk dev
sudo sandstorm
. Release scripts. Official releases require publishing key that only xet7 has.Docker:
git clone https://github.com/wekan/wekan
cd wekan
docker-compose up -d --build
Wekan on Windows:
Build from source scripts - from there run node-allow-port-80.sh and add etc-rc.local.txt before last line in your /etc/rc.local
This may need testing, does this work.
Add to to /etc/systemd/system/wekan@.service
; see `man systemd.unit` for configuration details
; the man section also explains *specifiers* `%x`
; update <username> with username below
[Unit]
Description=Wekan server %I
Documentation=https://github.com/wekan/wekan
After=network-online.target
Wants=network-online.target
Wants=systemd-networkd-wait-online.service
[Service]
ExecStart=/usr/local/bin/node /home/<username>/repos/wekan/.build/bundle/main.js
Restart=on-failure
StartLimitInterval=86400
StartLimitBurst=5
RestartSec=10
ExecReload=/bin/kill -USR1 $MAINPID
RestartSec=10
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=Wekan
User=<username>
Group=<username>
Environment=NODE_ENV=production
Environment=PWD=/home/<username>/repos/wekan/.build/bundle
Environment=PORT=3000
Environment=HTTP_FORWARDED_COUNT=1
Environment=MONGO_URL=mongodb://127.0.0.1:27017/admin
; https://example.com/wekan for deployment
Environment=ROOT_URL=http://localhost/wekan
Environment=MAIL_URL='smtp://user:pass@mailserver.example.com:25/'
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl start wekan@<username>
sudo systemctl enable wekan@<username>
sudo systemctl daemon-reload
sudo systemctl stop wekan@<username>
sudo systemctl disable wekan@<username>
Checkout instructions for setup with [[Caddy Webserver Config]] and [[Nginx Webserver Config]] respectively.
Building on Windows (if it works) is a lot slower than on Linux/Mac.