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

Developing Wekan for Sandstorm

Developing Wekan for Sandstorm

Wekan / General · June 26, 2019 at 4:39am (Edited 5 years ago)

Hello, I'm new to here and trying to add a new feature to Wekan for Sandstorm.

Is this document still up to date? https://github.com/wekan/wekan-maintainer/wiki/Building-Wekan-for-Sandstorm

I think there is a way to build from source code rather than an image to keep everything updated, or the image is always updated?

I am at the very start point of a Wekan developer, hope I can eventually reach the goal. Thank you!

Load previous messages

June 26, 2019 at 6:24am

I clone the code, run rebuild-wekan.sh, then start-wekan.sh, but get a Error: Cannot find module '/home/romulus/wekan/main.js'. I guess I am doing something very wrong, do you have idea?

    • reply
    • like

    did you run rebuild-wekan.sh with first 1 to install deps and then 2 to build wekan?

      • reply
      • like

      Yes, sudo rebuild-wekan.sh two times, 1 then 2. I am on devel branch.

        • reply
        • like

        Do not use sudo, or I should work on master?

          • reply
          • like

          You should work at edge

            like-fill
            1
            • reply
            • like

            at wekan directory type meteor

              • reply
              • like

              then wekan is at http://localhost:3000 I think

                • reply
                • like

                or add port number like meteor --port 4000

                  • reply
                  • like

                  then mongodb is at next port number

                    • reply
                    • like

                    mongo --port 4001

                      • reply
                      • like

                      You can install MongoDB 3.2.x from mongodb website, packages mongodb-org-tools and mongodb-org-shell

                        • reply
                        • like

                        to have mongo client commands

                          • reply
                          • like

                          or alternatively, install from your distro, sudo apt-get install mongodb-clients but I don't know what versions distros have, do they work

                            • reply
                            • like

                            So using 3.2.x currently is best

                              • reply
                              • like

                              You can also download MongoDB GUI https://www.nosqlbooster.com/downloads

                                • reply
                                • like

                                and connect with it to localhost 4001

                                  • reply
                                  • like

                                  When you have started Wekan with command meteor, and then change some code file, meteor automatically notices it and rebuilds wekan

                                    • reply
                                    • like

                                    but sometime if all changes are not noticed, then it needs rebuild-wekan.sh option 2

                                      • reply
                                      • like

                                      June 26, 2019 at 7:36am

                                      Thanks @romulus , you inspired me to write better developer docs for Sandstorm Wekan :) https://github.com/wekan/wekan-maintainer/wiki/Developing-Wekan-for-Sandstorm

                                        like-fill
                                        2
                                        • reply
                                        • like

                                        I have set up wekan correctly, thank you very much!

                                          like-fill
                                          1
                                          • reply
                                          • like

                                          :)

                                            • reply
                                            • like

                                            July 3, 2019 at 2:03am

                                            I find the *.jade file format is somehow different from what I know. Is this a special version jade?

                                              • reply
                                              • like

                                              July 3, 2019 at 7:29am

                                              I recommend you fork https://github.com/wekan/wekan again and use master branch for development. There has been a lot of changes.

                                                • reply
                                                • like