Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

2 роки тому
2 роки тому
2 роки тому
2 роки тому
2 роки тому
2 роки тому
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # Contributing
  2. Thanks for your interest in [Dify](https://dify.ai) and for wanting to contribute! Before you begin, read the
  3. [code of conduct](https://github.com/langgenius/.github/blob/main/CODE_OF_CONDUCT.md) and check out the
  4. [existing issues](https://github.com/langgenius/langgenius-gateway/issues).
  5. This document describes how to set up your development environment to build and test [Dify](https://dify.ai).
  6. ### Install dependencies
  7. You need to install and configure the following dependencies on your machine to build [Dify](https://dify.ai):
  8. - [Git](http://git-scm.com/)
  9. - [Docker](https://www.docker.com/)
  10. - [Docker Compose](https://docs.docker.com/compose/install/)
  11. - [Node.js v18.x (LTS)](http://nodejs.org)
  12. - [npm](https://www.npmjs.com/) version 8.x.x or [Yarn](https://yarnpkg.com/)
  13. - [Python](https://www.python.org/) version 3.10.x
  14. ## Local development
  15. 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.
  16. ### Fork the repository
  17. you need to fork the [repository](https://github.com/langgenius/dify).
  18. ### Clone the repo
  19. Clone your GitHub forked repository:
  20. ```
  21. git clone git@github.com:<github_username>/dify.git
  22. ```
  23. ### Install backend
  24. To learn how to install the backend application, please refer to the [Backend README](api/README.md).
  25. ### Install frontend
  26. To learn how to install the frontend application, please refer to the [Frontend README](web/README.md).
  27. ### Visit dify in your browser
  28. Finally, you can now visit [http://localhost:3000](http://localhost:3000) to view the [Dify](https://dify.ai) in local environment.
  29. ## Create a pull request
  30. 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.
  31. 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](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests) 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](https://github.com/langgenius/langgenius-gateway/graphs/contributors).
  32. ## Community channels
  33. Stuck somewhere? Have any questions? Join the [Discord Community Server](https://discord.gg/AhzKf7dNgk). We are here to help!
  34. ### i18n (Internationalization) Support
  35. We are looking for contributors to help with translations in other languages. If you are interested in helping, please join the [Discord Community Server](https://discord.gg/AhzKf7dNgk) and let us know.
  36. Also check out the [Frontend i18n README]((web/i18n/README_EN.md)) for more information.