Often in your projects, you’ll need multiple databases to work with your project.
In this example, we will use Redis, MySql and Postgres
Step 1: Installing Databases
first, we will install those databases using brew:
1
2
3
$brew install postgresql
$brew install redis
$brew install mysql
Step 2: Configuring Databases
to start Postgres, we will first need to create a data folder. we will create it in the home directory, under pg-data.
1
2
$mkdir~/pg-data
$initdb~/pg-data
We will use default configurations for all databases.
Step 3: Configuring devmon
Create a new Project
Edit the project
Add a new Process
Now We will use the presets feature:
To configure Redis – Choose Redis Process from presets
To configure Postgres – Choose Postgres Process from presets
To configure MySql – Choose MySql Service from presets.
For each of them you can choose a friendly name.
All there is left to do is to save the configuration, and start the project.
Thats all 🙂