DEV Community

Wendel Fernandes de Lana
Wendel Fernandes de Lana

Posted on

Apache AGE Setup for Contributing

Introduction

In this article, I will be discussing how to create a setup for contributing to the Apache AGE code. You must have a github account and PostgreSQL installed on your machine.

Tutorial

The first step to setup AGE is to fork the Apache AGE repository on Github.

Fork button at Apache AGE repository on Github

Then, clone the forked repository to your local machine using Git. You can run the following command in your terminal replacing USER with your Github user:
git clone https://github.com/USER/apache-age.git

Add the path/to/postgres/include directory to your IDE environment's include path. This will ensure that the compiler recognizes dependencies such as postgres.h.

Finally, you can begin making modifications to the code such as fixing issues and improving the performance of functions. After making the necessary changes, navigate to the folder where you cloned your forked repository and run the following commands:
make clean
make PG_CONFIG=/path/to/postgres/bin/pg_config install

For more details access How to Contribute and the Contribution Guide
Apache AGE repository: https://github.com/apache/age
Apache AGE website: https://age.apache.org

Top comments (0)