Warning: Use of undefined constant MDB_STRIPE_SUB_WEBHOOK_SECRET - assumed 'MDB_STRIPE_SUB_WEBHOOK_SECRET' (this will throw an Error in a future version of PHP) in /var/www/tst02/wp-content/themes/mdbootstrap4/inc/mdb-subscriptions/mdb-payments/stripe/class-mdb-stripe-webhook.php on line 26

Warning: Use of undefined constant MDB_PAYPAL_WEBHOOK_ID - assumed 'MDB_PAYPAL_WEBHOOK_ID' (this will throw an Error in a future version of PHP) in /var/www/tst02/wp-content/themes/mdbootstrap4/inc/mdb-subscriptions/mdb-payments/paypal/class-mdb-paypal-webhook.php on line 23

Notice: Undefined index: HTTP_REFERER in /var/www/tst02/wp-content/themes/mdbootstrap4/inc/cookie-setter.php on line 8
MDB CLI Quick Start

MDB CLI Quick Start

This short tutorial shows how to get started with MDB CLI and MDB 5 quickly and how to use its full potential.


Note: To use MDB CLI you must create a free account at MDBootstrap.com
So if you don't have an account yet, create one now. It will take you only a few seconds.

Create a free MDB account

Note 2: You also need to have NPM installed. If you don't have one - watch our short 1-minute NPM installation tutorial.

Watch the NPM installation tutorial


Do you already have an MDB account and have NPM installed? Great, you can start our Quick Start and start using the full possibilities offered by MDB CLI.

Click the video on the right and watch MDB Quick Start Tutorial

Quick Start written version:


Quick start

To show the simplicity of using MDB CLI tool, we have prepared an ultra-short tutorial which covers all required steps to create and publish MDB project. Down below the short version you can find comprehensive version including detailed description.

Note : In order to use MDB CLI you have to have npm installed. If you don't have it please check this tutorial first

1. Install CLI:


              npm install -g mdb-cli
            

2. Log into the CLI using your MDB account:


              mdb login
            

Please provide your MDB username and password which you use to login on our website.

3. Initialize a project:


              mdb init
            

Please use arrows to move up and down to choose desired project

4. Publish your project:


              mdb publish
            

Now you can visit the link which is displayed on your screen, which is similar to this one: https://mdbgo.io/projects/{username}/{projectName}/

You're done. You have just created and published an MDB project in 3 steps. Cool, isn't it?

If you are not familiar with how to install the MDB CLI tool or need better explanation or more commands, please visit this website