Getting started
Midaz uses Docker Compose to simplify the setup process and maintain a consistent development environment. This guide walks you through the steps to get your Midaz stack running smoothly.
Prerequisites
Before you begin, ensure that the following are installed on your machine:
Git: Installation Guide
Docker: Installation Guide
Docker Compose: Installation Guide
POSTMAN (recommended): Download POSTMAN
Chocolatey Package Manager: Installation Guide
Enable make function
After installing Chocolatey, you must run the following command to install the make function:
Setting Up Midaz
1. Clone the Repository
Start by cloning the Midaz repository from GitHub and navigate to the project directory:
2. Configure the Environment Variables
Run the following command to set all environment variables that will be used with Midaz:
3. Start Midaz with Docker Compose
Now, you can start the Midaz stack using Docker Compose. Run the following command:
This command will build and start the services defined in your docker-compose.yml
file in detached mode, meaning the services will run in the background, allowing you to continue using the terminal.
4. Verify the Stack is Running
To check if the stack is running correctly, use the following command:
This will display the running Docker containers.
Next Steps: Create an Organization
After ensuring your Midaz project is up and running, use our Postman collection, which you can download from GitHub, to create an organization by sending a POST
request to the /v1/organizations
endpoint.
Authentication
Before using the endpoints in our Postman collection, you will have to authenticate. For more information, follow the instructions on the Authenticating to Midaz page.
Need Help?
If you encounter any issues or want to get involved with the Midaz project, here are some resources:
Contribution Guidelines: Read our Contribution Guidelines to learn how to contribute effectively.
Join the Discussion: Connect with the community through our Discord channel. Discuss issues, share ideas, and learn from others.
Pick an Issue: Start contributing by selecting an open issue labeled for beginners or propose your own.
Don't hesitate to take the first step, whether new to open-source or an experienced contributor. For more detailed guides, consult our full documentation or reach out through our community support channels.
Last updated