Skip to content

ahwelgemoed/mendix-front-end-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mendix-Front-End-CLI

What It can/should Do

This is made to try and simplify Project Setup for Mac Users running Mendix Studio Pro with Parallels, among other things, it also attempts to help with local dev work by running app in simulators on the Developers device.

Install / Usage

npm i mendix-front-end-cli -g

OR

npx mendix-front-end-cli

It can

  • Generate in .env file to link your widget created with yo on your mac to your mendix app on your Windows C drive. [Mac Only]

  • Startup, Open and Install the Mendix Dev App in Android Studio [Mac and Windows]

  • Startup, Open and Install the Mendix Dev App in IOS Simulator [Mac Only]

Ps. Just run yarn setup || npm run setup and You will be prompted on what you can do.

We try to make it as easy as possible this does require that you setup your dev environment correctly.

Setup Android Studio on [Mac]

Open Setup Steps - Download and Install following the recommended React Native Setup that can be found here

React Native Setup

In Short

  • Install Homebrew Brew (Ps. If you don't know what it is,spoiler ⏰ its great!)

  • brew install node && brew install watchman

  • brew cask install adoptopenjdk/openjdk/adoptopenjdk8

  • Download Android Studio (https://developer.android.com/studio/index.html)

    • Android SDK
    • Android SDK Platform
    • Android Virtual Device

    This is the most important part and ensure you get it right

    Add the following lines to your $HOME/.bash_profile or $HOME/.bashrc (if you are using zsh then ~/.zprofile or ~/.zshrc) config file

    export PATH=$HOME/bin:/usr/local/bin:$PATH
    export PATH="${HOME}/Library/Android/sdk/tools:${HOME}/Library/Android/sdk/pl$
    export ANDROID_SDK=$HOME/Library/Android/sdk
    export PATH=$ANDROID_SDK/emulator:$ANDROID_SDK/tools:$PATH
    export PATH=$PATH:~/Library/Android/sdk/platform-tools/
    

    This should work if you did not change the path to the SDK

    Restart your terminal and run adb if it returns a long list you are fine if not...

Setup XCode on [Mac]

Open Setup Steps

React Native Setup

Setup Android Studio on [Windows]

Open Setup Steps [React Native Setup](https://reactnative.dev/docs/environment-setup)

TO_DO

🔘 Test on Mac

⚪️ Test on Windows

⚪️ Remote Download app and apk - (ATM its in the project file)

⚪️ Finish IOS Setup

⚪️ Add Kill commands for Devices

⚪️ Add Reboot commands for Devices

⚪️ Version Check current Package with remote and prompt user to upgrade. (Not major if user use NPX)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published