PYRAMON is a powerful tool for performance testing and query analysis in MongoDB databases. It is designed to evaluate the performance of your database and analyze queries in it.
- Install and configure MongoDB.
- For more information on MongoDB installation, please refer to its documentation.
- Clone the Pyramon repository:
- git clone https://github.com/mkdemir/pyramon.git
- Install the dependencies:
- Windows - PowerShell: Run the following command to install Pyramon on Windows using PowerShell
.\setup_powershell.ps1 -PythonVersion "3.11" -EnvName "venv" -RequirementsFile ".\requirements.txt"
- PythonVersion specifies the Python version to be installed.
- EnvName specifies the name of the virtual environment to be created.
- RequirementsFile specifies the path to the requirements file that contains the dependencies.
- Linux/Unix - Shell script: Run the following command to install Pyramon on Linux/Unix using a shell script
./setup_linux.sh
- Windows - PowerShell: Run the following command to install Pyramon on Windows using PowerShell
- Navigate to the
pyramon/src/
directory in your terminal. - Enter the necessary information into your .env file.
- Run the command
../venv/bin/python3 main.py
to start the script. - The script will start running and retrieving information from MongoDB.
- When the script finishes, it will stop execution.
- You can find the files containing the information under the data/data_log/ folder.
- Fork this repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes and commit them (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.