We welcome all forms of contributions! You can start with some good first isssues. You can also go through other existing issues or create new ones in the issues dashboard.
You can find our contributing guide on our website.
All contributions must and will be licensed under GNU General Public License v3.0.
Treejer has adapted its Code of Conduct from the Contributer Covenant (v2.1). All community members are expected to adhere to it. Please refer here for more details.
- The preferred workflow for contributing to
Treejer
is to fork the main repository on GitHub and create a new branch. - Clone the forked repository to your local.
In order to facilitate better development and testing, the project has been integrated with Docker and Docker Compose. This eliminates the necessity to setup the entire environment in your local machine. Simply spin up the required container
and start developing or testing in it.
Docker
- If you don't have Docker installed in your local machine, you can get it by following the steps here. This should also installdocker-compose
.
Two modes can be enabled via docker:
- Development: This creates a
container
with the project and all the dependencies installed in it. The project location in your local machine will be linked as a volume to the container and any edits you make in your local would be synced to the container. To spin up the development container run:docker-compose up develop
inside the project folder on your local. - Testing: This brings up a container and runs all the tests in it automatically and then kills the container. This can be used purely for testing purposes. To spin up a testing container run:
docker-compose up test
inside the project folder on your local.
If you are unable to install docker
in your local, then you can setup the environment directly by following the steps mentioned below.
node>=13.0.0
- Once inside the project folder on your local, run
npm install
to install all the dependencies. - Start Ganache using:
npm run ganache
- Run all the tests using
npm run test
- Deploy to the local ganache using
npm run deploy
You can join the contributors channel our Discord.
Vulnerabilities should be disclosed directly to the Treejer team by emailing security@treejer.com.