MindsDB Installation for Development
If you want to contribute to the development of MindsDB, you need to install it first.
There are a few installation options that you can choose as follows:
- from source,
- using PyPi for Windows, Linux, or MacOS,
- using Docker image.
Our preferred MindsDB installation method for development is the installation from source.
Here, we recall the steps of MindsDB installation from source. You can either follow the steps below or visit the provided link.
Before proceeding, make sure you have
Python 3.8.x or
Fork the MindsDB repository from GitHub.
Clone the fork locally:
git clone firstname.lastname@example.org:YOUR_USERNAME/mindsdb.git
- Create a new virtual environment:
python -m venv mindsdb-venv
- Activate the virtual environment:
- Install dependencies:
cd mindsdb && pip install -r requirements.txt
- Install MindsDB:
python setup.py develop
- Start MindsDB:
python -m mindsdb
If everything works as expected, you should see the following message in the console:
... 2022-06-28 16:21:46,942 - INFO - - GUI available at http://127.0.0.1:47334/ 2022-06-28 16:21:47,010 - INFO - Starting MindsDB Mysql proxy server on tcp://127.0.0.1:47335 2022-06-28 16:21:47,015 - INFO - Waiting for incoming connections... mysql API: started on 47335 http API: started on 47334
Now that you are all set, we recommend you check out our Tutorials and Community Tutorials sections, where you’ll find various examples of regression, classification, and time series predictions with MindsDB.
To learn more about MindsDB itself, follow the guide on MindsDB database structure. Also, don’t miss out on the remaining pages from the SQL API section, as they explain a common SQL syntax with examples.