mCAP CLI
The command line interface
Agenda
- Instruction in the mCAP CLI
- Generating an App with the CLI
- Intro to project structure
- Deploy it to a mCAP
- Publish the app to relution.io
- Hands-On
Install
- git clone https://github.com/mwaylabs/mcap-cli.git
- cd mcap-cli
- npm install
-
npm link (make it accessible from everywhere)
First run
Type mcap in your console and press enter!
Let's build an APP
-
Type mcap new in your console and press enter!
- Answer the questions
- Then cd into the generated folder
Add a server
-
Type mcap server in your console and press enter!
- Answer the questions
Deploy it!
Just run mcap deploy
Open the preview link in your browser
Publish to relution.io
Run mcap publish
Generate a model
-
Type mcap generate model in your console and press enter!
- Answer the questions
Task:
Implement a delete button
in the detail view
Any questions,
ideas or suggestions?