Help improve this project by:
- Creating an issue (Check for known issues first)
- Submitting a pull request to fix a problem or add a feature
Your contributions are appreciated and will be taken seriously.
Report problems or suggest improvements by creating an issue.
Fork the repository to your GitHub account.
Clone your fork locally and make the necessary changes:
git clone git@github.com:YOURNAMESPACE/autobase.gitInstall make, Python3.12, venv, and docker.
Run make for Makefile help.
Resource requirements:
make molecule-converge— creates 3 containers and deploys a PostgreSQL cluster. Minimum: 4 GB RAM, 2 CPU cores, 10 GB disk (8 GB RAM recommended).make tests— runs all test scenarios and is significantly more resource-intensive. Minimum: 8 GB RAM, 4 CPU cores, 20 GB disk (16 GB RAM recommended).On systems with limited RAM, use
make molecule-convergefor a quick functional test, thenmake molecule-destroyto clean up.
- Initialize virtualenv and install dependencies with:
make bootstrap-dev - Run Prettier formatting:
make prettier - Lint your code with
make lint - Test your changes with:
make molecule-converge(lightweight) ormake tests(all scenarios)
To test a specific distribution, set distro, tag, and namespace:
IMAGE_NAMESPACE=geerlingguy IMAGE_DISTRO=debian12 make molecule-convergeUse Gitpod for a cloud-based development environment:
- Sign up for Gitpod: https://gitpod.io
- Fork the
autobaserepository - Open your fork in Gitpod:
https://gitpod.io/#https://github.com/username/autobase - Create a new branch:
git checkout -b my-feature-branch - Make your changes and commit:
git add .andgit commit -m "Description of changes" - Run Prettier formatting:
make prettier - Test with linters:
make lint - Test with Molecule:
make molecule-converge(lightweight) ormake tests(all scenarios) - Push your changes:
git push origin my-feature-branch
Keep your Gitpod workspace synced with the main repository.
Create a pull request and refer to the issue number using #123, where 123 is the issue number.
Your pull request will be reviewed, and you’ll receive feedback. Thanks for contributing!