Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

Wekan

Wekan is an open-source kanban board (Trello like) which allows a card-based task and to-do management.

Wekan / General

node version - mongo - api - best practice examples

node version - mongo - api - best practice examples

Wekan/General · January 2, 2020 at 5:45pm

node version - mongo - api - best practice examples

Wekan / General · January 2, 2020 at 5:45pm (Edited 4 years ago)

Is there any reason that I cannot run wekan on Node 10.15.3?

Can I just use an existing mongo server and just create a new user?

Is best practice for "development only" to use mongo as localhost or do what you would normally and keep wekan on it own server and remote access mongo?

If main use case is to populate and retrieve via another app (through api) and just use wekan to display cards/lists/tasks and perhaps just signal that a task is completed, is there any best practice configurations you would suggest?

If I already have an existing invitation/registration/login/authentication/two factor in place, is it easy to just populate the user tables direct? Is there an example on how best to do this with the api? if not, directly into mongo?

Load previous messages

January 2, 2020 at 11:04pm

is that fiber or meteor ?

    • reply
    • like

    is this the solution in the code you sent?

      • reply
      • like

      cd bundle/programs/server npm uninstall fibers node-gyp node-pre-gyp npm install [email protected] node-pre-gyp fibers npm install npm uninstall fibers node-gyp node-pre-gyp npm install node-pre-gyp npm install fibers npm install [email protected]

        • reply
        • like

        Hmm, are you trying to install bundle or build from source?

          • reply
          • like

          For building from source, you create directory /home/wekan/repos and there clone https://github.com/wekan/wekan (or your own fork) so it will be at /home/wekan/repos/wekan

            • reply
            • like

            bundle is not full source

              • reply
              • like

              for x64 Linux, bundle is at https://releases.wekan.team with name wekan-VERSIONNUMBER.zip and RasPi3/4 versio is at https://releases.wekan.team/raspi3/

                • reply
                • like

                Bundle only needs node.js and mongodb - it does not need meteor

                  • reply
                  • like

                  Meteor development can only be done at x64 Linux, because officially Meteor does not support ARM etc. But bundle can be run at any OS/CPU that has node.js and mongodb

                    • reply
                    • like

                    at this point was looking for something that does not break :)

                      • reply
                      • like

                      was just following this before its started going sideways

                        • reply
                        • like

                        Are you coding new features for Wekan? Or why you build from source?

                          • reply
                          • like

                          neither. I plan on using the api from another program we are coding to populate it

                            • reply
                            • like

                            Snap does update automatically

                              • reply
                              • like

                              and upgrades database automatically too

                                • reply
                                • like

                                I use Snap on most of my servers

                                  • reply
                                  • like

                                  and also for my local install at my Debian desktop pc

                                    • reply
                                    • like

                                    so it loads mongo local host and then adds the correct version of node.js all on one server?

                                      • reply
                                      • like

                                      if so will go that route

                                        • reply
                                        • like

                                        snap includes node+mongodb+wekan

                                          • reply
                                          • like

                                          mongodb is at local port 27019

                                            • reply
                                            • like

                                            and node port can be configured

                                              • reply
                                              • like