0.0.10 • Published 4 years ago

@momo-platform/momo-platform-cli v0.0.10

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
4 years ago

Momo Platform CLI

Momo Platform CLI will help Momo partners create and develop Mini app on Momo Platform quickly

Setup

1. Configure the ANDROID_HOME environment variable

The React Native tools require some environment variables to be set up in order to build apps with native code.

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

React Native docs: See more

export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools

Dont forget to update changes:

source ~/.bash_profile

2. Add Momo Platform CLI

npm i @momo-platform/momo-platform-cli -g

Get started

1. Create first Mini app project

momo-platform-cli init [myApp]

2. Start Mini app

Android

Launch Android simulator and start your Mini app

cd myApp
momo-platform-cli run-android

IOS

In development

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago