MDB CLI Configuration
This page contains configurations options for adding new domains, setting up git repository and more.
Add custom domain to your project
MDB GO allows you to add a custom domain to your project. In other words, if you are owner of
yourdomain.com you can use this domain for your MDB GO project.
1. Run the following command inside your MDB project:
$ mdb config domain <yourdomain>
mdb config domain mydomain.com)
2. Re-publish your project
$ mdb <entity> publish
mdb frontend publish )
3. Add/modify A record and set target to:
Note: Configuration of the DNS records vary depending on hosting provider. In order to edit A record you have to sign in to your hosting provider where you bought domain and search for DNS configuration. Watch the video to see sample configuration on OVH.
Add git repository to your project
If your project doesn't have repository you will see X next to "Repository" field.
In case your project already have a repository you will see a link to it.
CREATE button. This will create a git repository and submit your currently deployed code into a new repository.
Now you can navigate to your git project, review history, manage access and more.
From now on whenever you run
mdb get command to download your MDB GO project to your local computer it will clone the project from GIT repository (instead of downloading it from FTP)