Wekan Kanban Install: Difference between revisions

From Traxel Wiki
Jump to navigation Jump to search
Line 89: Line 89:
> exit
> exit
</pre>
</pre>
=== Wekan ===


[[Category:Hacking]]
[[Category:Hacking]]
[[Category:OpenDevOps]]
[[Category:OpenDevOps]]

Revision as of 18:15, 11 April 2021

Document an install of this:

https://wekan.github.io/

Magic Candy Install

sudo apt update -y && sudo apt upgrade -y
sudo apt install snapd -y
sudo apt install nginx -y
sudo snap install wekan
sudo snap set wekan port="6080"
sudo systemctl restart snap.wekan.mongodb
sudo systemctl restart snap.wekan.wekan

Aborted: Too much bullshit, not enough control.

Low Level Install

Low-level install instructions: https://websiteforstudents.com/how-to-install-wekan-on-ubuntu-18-04-16-04/

System Update

sudo apt update
sudo apt upgrade -y
sudo apt install -y emacs-nox

Wekan User

sudo useradd -m -s /bin/bash wekan
sudo passwd wekan

Full Entertainment

Node.JS + NVM

Node Package Manager, Node Version Manager

Find the latest here: https://github.com/nvm-sh/nvm#installing-and-updating

sudo apt install nodejs -y
su - wekan
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source ~/.bashrc
nvm install v4.8
nvm use node
exit # exit wekan account, back to admin

MongoDB

sudo apt install dirmngr gnupg apt-transport-https software-properties-common ca-certificates curl
curl -fsSL https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
sudo add-apt-repository 'deb https://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main'
sudo apt update
sudo apt install mongodb-org -y
sudo systemctl enable mongod --now # note "mongod" not "mongodb"
$ mongo --host 127.0.0.1:27017
> use admin
> db.createUser({user:"admin", pwd:"new_password_here", roles:[{role:"root", db:"admin"}]})
> exit
$ sudo emacs -nw /etc/mongod.conf
> security:
>   authorization: enable
$ sudo systemctl restart mongod
$ mongo -u admin -p
> use wekan
> db.createUser({user: "wekan",pwd: "new_password_here",roles: ["readWrite"]})
> exit

Wekan