Mantra how-to guide
Download a component from Mantra site
How to download a component from official Mantra site repository and add it to your project
Mantra site has a number of features so that you can learn about how to build Mantra applications and download lots of Mantra components and projects, in adition to demo projects uploaded to GitHub Mantra public repository.
Components in Mantra site can be considered as official: they are well tested and used in many projects, implementing many of the stuff common in most of Mantra applications.
You can download a component from Mantra site and install it in your own project.
Have a look to Mantra components to read about their functionality. It is also a good resource to learn how to build professional Mantra applications.
Once you need to use one of them, you need to have an account at Mantra site.
Register your account here.
Registering process is easy and doesn't require from you more than activate your account validating your email, as usual in many sites. When registering at Mantra site, you'll be noticed about news, new components, projects and improvements of Mantra.
To download a component or a project, you need your "license key". Grab it at your profile account view.
This license key ID is unique for your account and you can renew it whenever you want; it is a value like this: "61bf92f097c111ec86bbdfda4b9b197d".
To download a component, just run "download-component" command in the shell.
Given you want to download "googleanalytics" component, just type:
$ mantrad download-component googleanalytics
Then, the command will ask you for your account mail and license ID.
Once the component has been downloaded, will ask you to install it and enable it in your project. The component will be downloaded at /mantradownloaded folder with .tar.gz format.
All components are well documented and you can read how to used it at their README.md files.
Mantra team adds new components to Mantra components repository to reuse common components, useful in most of the projects.
In the moment I'm writing this, we are working hard to add more free components and projects you can download for free. In the coming months, some paid components and projects will be added as base boilerplates for your projects.