KanServer: Difference between revisions

From CLAIF Wiki
Jump to navigationJump to search
No edit summary
Line 14: Line 14:
  meteor npm install production
  meteor npm install production
  meteor build .build --directory --platforms=web.browser
  meteor build .build --directory --platforms=web.browser
== Launching WeKan ==
export PATH=$PATH:/home/demo/.meteor
cd ~/wekan
MONGO_URL=mongodb://ferret:<DB_PASSWORD_GOES_HERE>@127.0.0.1:27017/wekan WRITABLE_PATH=.. WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=https://kan.faikvm.com meteor run --exclude-archs web.browser.legacy,web.cordova --port 8080 2>&1 | tee ../wekan-log.`date +%s`.txt


== Notes ==
== Notes ==

Revision as of 13:51, 11 January 2026

Post Install

git clone https://github.com/wekan/wekan.git
cd wekan
git checkout v8.17
sudo apt update
sudo apt install -y build-essential gcc g++ make git curl wget p7zip-full zip unzip unp npm p7zip-full
sudo npm install -g n
export N_NODE_MIRROR=https://github.com/wekan/node-v14-esm/releases/download
sudo -E n 14.21.4
sudo npm -g install @mapbox/node-pre-gyp
sudo npm -g install meteor@2.14 --unsafe-perm
export PATH=$PATH:/home/demo/.meteor
meteor npm install production
meteor build .build --directory --platforms=web.browser

Launching WeKan

export PATH=$PATH:/home/demo/.meteor
cd ~/wekan
MONGO_URL=mongodb://ferret:<DB_PASSWORD_GOES_HERE>@127.0.0.1:27017/wekan WRITABLE_PATH=.. WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=https://kan.faikvm.com meteor run --exclude-archs web.browser.legacy,web.cordova --port 8080 2>&1 | tee ../wekan-log.`date +%s`.txt

Notes

  1. Machine must have at least 3 gigs of ram. Crashes at npm installing meteor, with 384 megs.
  2. Machine must have at least 4 gigs of ram. Crashes at meteor build with 3 gigs.
  3. be ready to read rebuild-wekan.sh if you want to actually get it running.