Mantra how-to guide

Install a demo project or a project downloaded from Mantra site

In a few steps, you can download a Mantra demo project or el project downloaded from official Mantra site repository

06-Mar-2022
A  A  A 

Mantra doesn't consist only of a core framework you can use freely to build and run high performance applications.

We work hard to upload lots of demo projects. Their purpose is you can download them and learn how to do specific tasks using Mantra. Is the best and fast way to become a Mantra developer.

On the other hand, Mantra site has an official project repository with an increasing number of professional projects ready so that you can start your own project with them. In the time of writing this (just a weeks after first Mantra production version has been releases), we are working in the documentation to upload many of then in the coming weeks.

Both types of projects (official Mantra site and demo ones), comes with good and quality documentation to understand them.

This is one of the main features of Mantra projects: provides an extraordinay homogeneity in all their projects, thus, grab a new one and understand it is extremely easy.

How can you download projects?

You can download demo projects directory from GitHub repository using "git clone" command.

For official Mantra projects, you can use "download-project" command from Mantra:

$ mantrad download-project picturesuploader

With this command, "picturesuploader" command will be downloaded. To do that, you will be asked about your email account and license key ID, as for components downloads (Grab it at your profile account view. Obviously, you need to be registered.

Most of the projects comes with Sqlite data provider configured at mantraconfig.json file, so that you can install and run it quickly. You can change that configuration to the data provider you need (MySql, PostgreSql, etc.).

Install the project with:

[project folder]$ mantrad install

Finally, check projects and components updates regularly.