-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
SmartOS
Lauri Ojansivu edited this page Mar 24, 2020
·
7 revisions
based on: https://github.com/greinbold/install-wekan/blob/master/v0.32/freebsd-11.0-RELEASE.md
Used https://github.com/skylime/mi-core-base 1963511a-19d8-4646-90b4-09ecfad1d3ac core-base 16.4.7
Add user wekan
# useradd -m wekan -s /usr/bin/bash
Install prerequisites packages
# pkgin install mongodb
## if this failes use
# pkg_add https://pkgsrc.smartos.skylime.net/packages/SmartOS/2016Q4/x86_64/All/mongodb-3.2.10.tgz
# pkgin install nodejs curl # 8
# pkgin install gmake gcc5 git jq # build requirements
Enable MongoDB
# /usr/sbin/svcadm enable -r svc:/pkgsrc/mongodb:default
Newest wekan-VERSION.zip at https://releases.wekan.team
As wekan
$ cd
$ curl https://releases.wekan.team/wekan-0.89.tar.gz --output wekan-bundle.tar.gz
$ tar -xzpf wekan-bundle.tar.gz
As root
# chown -R wekan:wekan /home/wekan/bundle
As wekan
$ su wekan
$ cd ~/bundle/programs/server
$ npm install # this might be optional - needs testing
$ export CXX="/opt/local/gcc5/bin/g++ -m64"
$ export CC="/opt/local/gcc5/bin/gcc -m64"
$ export CPPFLAGS="-I/opt/local/include"
$ ln -s /opt/local/bin/node /opt/local/bin/nodejs
$ npm install fibers
$ npm install bcrypt
$ cd ~/bundle/programs/server/npm
$ npm install bson-ext@$(jq -r .version < node_modules/bson-ext/package.json)
$ npm install bcrypt@$(jq -r .version < node_modules/bcrypt/package.json)
$ # find more packages with native modules: find ~/bundle/ | grep "binding.gyp$"
Considering that we set the shell for user wekan to /usr/bin/bash
, the following ENV variables can be set according the following method before starting of Wekan. These must be adapted according the shell.
$ export MONGO_URL=mongodb://127.0.0.1:27017/wekan
$ export ROOT_URL=https://example.com
$ export MAIL_URL=smtp://user:pass@mailserver.example.com:25/
$ export MAIL_FROM=wekan-admin@example.com
$ export PORT=8080
Now it can be run
$ cd ~/bundle
$ node main.js
$ pkgin rm gmake gcc5 git jq # remove build requirements
Wekan - OpenSource Kanban
- Deep Dive Into WeKan
- Meteor WeKan Roadmap - board at Wekan demo
- Multiverse WeKan Roadmap
- Docs/Manual
- Change Language
- Forgot Password
- About
- Test Edge
- WeKan Design Principles
- FAQ
- IRC FAQ - answers to questions asked at IRC
- Team
- Press
- Blog
- Wekan vs Trello vs Restyaboard
- Results of Survey 2020-01
- Allow private boards only: Disable Public Boards
- Security Disclosure and details of Security in Wekan
- Security issues
- Password Hashing
- Cron: Hourly restart WeKan, because of memory leaks
- Maybe: Add more RAM to Node.js to prevent crash
- Clustering AWS etc
- Scaling
- Kubernetes
- Redis Oplog
- Meteor Scaling at Meteor Cloud
- Scaling at Meteor forums
- From Previous Export, paste big WeKan JSON
- Progress: Import/Export/Sync
- From CSV/TSV
- From Trello
- From Jira
- From Asana
- From Zenkit
- From old Wekan manually
- Converting Meteor Stylus to CSS
- Repair MongoDB
- Using Meteor MongoDB to repair files
- If board does not open and keeps loading
- Repair Docker
- Wekan Markdown
- Emoji
- Mermaid Diagram DOES NOT WORK ANYMORE
- Numbered text
- Automatic login
- Disable Password Login
- Forgot Password
- Admin: Impersonate user
- Adding Users
- Active users Presence
- Accounts Lockout: Brute force login protection
- LDAP
- LDAP AD Simple Auth
- Keycloak
- Google login
- Azure
- OAuth2, Auth0, GitLab, RocketChat
- Oracle OIM on premise using OAuth2
- ADFS 4.0 using OAuth2 and OpenID
- Azure AD B2C using OAuth2
- Nextcloud
- CAS Please test
- SAML Please test
- Zitadel
- Linked Cards
- Drag Drop on Mobile and Desktop
- Rclone: Store attachments to cloud storage like S3, MinIO, etc
- Python based features
- Burndown and Velocity Chart
- Wait Spinners
- Translations
- Default Language for All Users
- Roadmap
- Features
- Planning Poker
- Scaling
- Custom Logo
- Subtasks <== Has fix
- Templates
- Cover
- Archive and Delete
- Custom Fields
- Fix Export board menu not visible on some boards
- RAM usage
- Demo
- Swimlane Documentation
- Customize Translations
- Download Wekan for various Platforms: Supported by xet7, Operating Systems, NAS, Cloud
- Helm Chart for Kubernetes
- Caddy
- Nginx
- Apache
- OpenLiteSpeed
- Local self signed TLS
- Let's Encrypt and Google Auth
- TLS with Node.js
- Traefik and self-signed SSL certs
- Example: New card with Python3 and REST API
- Python client to REST API
- Go client to REST API
- Java
- Wekan Sandstorm cards to CSV using Python
- Excel and VBA
- Global Webhook
- Limiting Webhook data
- Receiving Webhooks
- Outgoing Webhook to Discord/Slack/RocketChat/Riot
- Outgoing Webhook to NodeRed
- Outgoing Webhook to PowerShell
- Security: Webhook and CA
- Outgoing Webhooks Data
- Outgoing Webhooks and Let's Encrypt
- Outgoing Webhooks Original Pull Request, multiple Webhooks, more parameters and response order