GithubHelp home page GithubHelp logo

alexmihaifcuk / mx-sdk-modelexport Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lindski/mx-sdk-modelexport

0.0 0.0 0.0 32 KB

Exports application objects as Model SDK code snippets

TypeScript 100.00%

mx-sdk-modelexport's Introduction

Model Export

Installation

Set up your development tools by following the steps in this article:

https://docs.mendix.com/apidocs-mxsdk/mxsdk/setting-up-your-development-environment

Clone the repository to a folder on your local pc and then open the folder in a command prompt.

Install project dependencies by running the following command

npm install

Configuration

In the src folder, create a file config.json (see config.json.example for a sample).

auth

{
    "auth" : {
        "username":"",
        "apikey":""
    }
    ...
}

auth.username: Your Mendix login (i.e. your email address)

auth.apikey: An api key that you have generated for your Mendix login (not a project api key)

project

{
    ...
    "project":{
        "id":"",
        "name":"",
        "branch": ""
    }
    ...
}

project.id: The id of your project

project.name: The name of your project

project.branch: The name of the branch you want to use (or empty string for the main line)

Run the script

Compile and run the script by running the following command:

npm start

The script will do the following:

  • create a folder called 'out' if it doesn't already exist
  • create a folder named after the project. If one already exists the script will exit.
  • iterate over every ModuleSecurity and ModuleDocument object and store them in module specific sub folders under the project.

mx-sdk-modelexport's People

Contributors

lindski avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.