Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 2.41 KB

CONTRIBUTING.md

File metadata and controls

56 lines (33 loc) · 2.41 KB

Contributing

Thanks for your interest in Dify and for wanting to contribute! Before you begin, read the code of conduct and check out the existing issues. This document describes how to set up your development environment to build and test Dify.

Install dependencies

You need to install and configure the following dependencies on your machine to build Dify:

Local development

To set up a working development environment, just fork the project git repository and install the backend and frontend dependencies using the proper package manager and create run the docker-compose stack.

Fork the repository

you need to fork the repository.

Clone the repo

Clone your GitHub forked repository:

git clone [email protected]:<github_username>/dify.git

Install backend

To learn how to install the backend application, please refer to the Backend README.

Install frontend

To learn how to install the frontend application, please refer to the Frontend README.

Visit dify in your browser

Finally, you can now visit http://localhost:3000 to view the Dify in local environment.

Create a pull request

After making your changes, open a pull request (PR). Once you submit your pull request, others from the Dify team/community will review it with you.

Did you have an issue, like a merge conflict, or don't know how to open a pull request? Check out GitHub's pull request tutorial on how to resolve merge conflicts and other issues. Once your PR has been merged, you will be proudly listed as a contributor in the contributor chart.

Community channels

Stuck somewhere? Have any questions? Join the Discord Community Server. We are here to help!