• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Gord Bond
    3. Topics

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 21
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Gord Bond

    • G

      Development and Production Environment Best Practices

      Development general discussion
      • • • Gord Bond
      7
      0
      Votes
      7
      Posts
      1.3k
      Views

      MattFoxM

      Yes I use bitbucket.
      I use the gitflow approach so that all changes are pushed back into the dev branch then when all works, it gets pushed into the master.

      I was developing when mango stored its mangoUI in individual files so when Jared changed to webpack it was a bit too late for me as my codebase is too big to rejig to work with the way infinite do things now.

      Here's how I do it:

      use a local mango and deploy your userModule and file structure in [MANGO_HOME]/overrides/web/modules/mangoUI/web

      mangoUI settings for userModule location are:

      /modules/mangoUI/web/userModule.js

      I like to throw a ?D=timestamp on the end to help if I've changed contents of the usermodule file.

      I like the user module in the web directory then store all of my components etc in other directories beyond it.

      Use git to commit all of my files that I need for the userModule and the userModule itself and push them into source control.

      My mango cloud is actually a cloud based server that I host mango on, so I have full control of the system. This also means unfortunately if something goes to buggery it's my boss ringing me at some ungodly hour to fix it...

      Where the main mango is hosted I pull the changes I have made and that updates all corresponding files.

      To fight caching, when "requiring" certain files, create a version number constant at the top of the usermodule file. It's globally accessible and appends a dateTime string to it. So when files are called by mango you add on the end:

      //Don't quote me on the DateTime format I'm on holiday! const UM_VER = "?umVer=1.0.1_"+new Date().format("yyyyMMDDhhmm").toString(); //?umVer=1.0.1_202127010810 //which makes define('./controllers/myNewCtrl.js'+UM_VER , function(newCtrl) { }); //or as an injected scope variable ['$scope', './service/myNewSvc.js'+UM_VER , function($scope,newSvc){ $scope.doThis = newSvc; } //other controller properties... )

      Hope that helps your build. I'll answer any other questions you may have later.

      If you can implement nodeJS and use the webpack system Jared has implemented however, I'd recommend it as it gives you power over other users to amend any oversights or bugs in the main dashboard code and you can then build the dashboard files in the overrides directory with your own components as well. Saves you worrying about browser as much.

      Fox

    • G

      POP3 not returning values

      User help
      • • • Gord Bond
      3
      0
      Votes
      3
      Posts
      610
      Views

      G

      Ahh! That make sense. Thanks @MattFox !

    • G

      Environment Canada data source - Data gap issue

      User help
      • • • Gord Bond
      5
      0
      Votes
      5
      Posts
      1.0k
      Views

      G

      Appreciate it @mattfox !

    • G

      Updating a data point value at a specific timestamp

      User help
      • • • Gord Bond
      7
      0
      Votes
      7
      Posts
      1.2k
      Views

      G

      Ah ok, thank you guys. This helps quite a bit. I am currently using the free license at the moment to investigate whether or not Mango is the right for our project. So far it seems really great and I'm glad there is a solution for my duplicates problem. I appreciate all the help here in the forums.

    • G

      Accessing tags in the Meta Datapoint via the scripting context

      How-To
      • • • Gord Bond
      3
      0
      Votes
      3
      Posts
      896
      Views

      G

      Amazing. Thank you very much.

    • G

      Modules not loading after including them in git/ma-core-public/Core/web/modules

      Development general discussion
      • • • Gord Bond
      4
      0
      Votes
      4
      Posts
      1.2k
      Views

      G

      Final Update: It took some fiddling but installing the 3.7.x branch worked. All modules are loaded can now but placed in the git/ma-core-public/Core/web/modules directory and loaded into the build. If anyone is interested, I created documentation for the process I used to set up Eclipse for version 3.7.x. Feel free to reach out and I can share it.

    • G

      Processing files then uploading them to file store

      User help
      • • • Gord Bond
      3
      0
      Votes
      3
      Posts
      826
      Views

      G

      @mattfox Thank you very much.