Getting started
To streamline the setup process and ensure a smooth, consistent development environment, Midaz utilizes Docker Compose. This section provides a step-by-step guide to get your Midaz stack up and running using Docker Compose.
Prerequisites
Before you begin, make sure you have the following installed:
Docker: Installation guide
Docker Compose: Installation guide
Midaz Setup
1. Clone the Repository
2. Navigate to the Ledger Component
Change to the components/ledger
directory, which is crucial for the operation of the Midaz project:
3. Configuring Environment Variables
Configure your environment variables by renaming and updating the .env.example to .env.
4. Wake up Midaz with Docker compose
With the environment variables set, you can now start the Midaz stack using Docker Compose. Run the following command in the terminal:
This command builds and starts the services defined in your docker-compose.yml file in detached mode, allowing you to continue using the terminal for other tasks.
Verify if the stack is running
Run the command below to validate if the stack is running properly.
Next Steps - Creating an Organization
Congratulations! You have successfully set up the Midaz project on your machine. You are now ready to explore the functionalities offered by Midaz.
Now it’s time to make a test, in this case we will perform a new Organization with curl below:
Output 201 - Created Status Code:
API Collection
You can easily download our API collection directly from GitHub to simplify your integration with Midaz's endpoints. Just check out the documentation here.
Are you facing any problems?
Read Our Contribution Guidelines: Familiarize yourself with our Contribution Guidelines to understand how to submit contributions effectively.
Join the Discussion: Participate in discussions on our community channels to get to know the project and community better. Enter in your Discord Channel.
Pick an Issue: Check out the open issues labeled for beginners or propose your own project.
Don't be afraid to take the first step. Whether it's your first time contributing to an open-source project or you're an experienced.
For more detailed guides on using and contributing to the Midaz ecosystem, refer to the further documentation provided with the project. Should you encounter any issues during setup, consult our troubleshooting guide or reach out through our community support channels.
Last updated