🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
docs: CONTRIBUTING.md
Marc Klingen6332418cb17f
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 5e7b2c28d1..95c54b7def 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -5,16 +5,16 @@ First off, thanks for taking the time to contribute! ❤️Langfuse is an open-source observability and analytics solution for LLM-based applications. We welcome contributions through GitHub pull requests. This document outlines our conventions regarding development workflow, commit message formatting, contact points, and other resources. Our goal is to simplify the process and ensure that your contributions are easily accepted.We gratefully welcome improvements to documentation as well as to code.-<!-- The community looks forward to your contributions. 🎉 -->++The maintainers are available on [Discord](https://langfuse.com/discord) in case you have any questions.> And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:+>> - Star the project;> - Tweet about it;> - Refer to this project in your project's readme;> - Mention the project at local meetups and tell your friends/colleagues.-The maintainers are available on [Discord](https://langfuse.com/discord) in case you have any questions.-# How to contribute to Langfuse## Making a change@@ -27,45 +27,54 @@ Once we've discussed your changes and you've got your code ready, make sure thatA good first step is to search for open [issues](https://github.com/langfuse/langfuse/issues). Issues are labeled, and some good issues to start with are labeled: [good first issue](https://github.com/langfuse/langfuse/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).-## Setup--First, the preferred version for development is Node.js >=18. Additionally, you should have npm and Docker installed--Then, to begin development fork repository and go to root folder by run `cd ./langfuse` .+## Development Setup-```bash-# Install dependencies-npm install+Requirements-# Run the db-docker-compose -f docker-compose.dev.yml up -d+- Node.js 20 as specified in the [.nvmrc](.nvmrc)+- Docker to run the database locally-# create an env file-cp .env.dev.example .env+**Steps**-# Migration-npm run db:migrate+1. Fork the the repository and clone it locally+2. Install dependencies-# Optional: seed the database-# npm run db:seed-# npm run db:seed:examples+ ```bash+ npm install+ ```-# Start the server-npm run dev-```+3. Run the development database-## Commit messages+ ```bash+ docker-compose -f docker-compose.dev.yml up -d+ ```-On the main branch, we adhere to the best practices of [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/). All pull requests and branches are squash-merged to maintain a clean and readable history. This approach ensures the addition of a conventional commit message when merging contributions.+4. Create an env file-## License+ ```bash+ cp .env.dev.example .env+ ```-Langfuse is MIT licensed, except for `ee/` folder. See [LICENSE](LICENSE) and [docs](https://langfuse.com/docs/open-source) for more details.+5. Run the migrations+ ```bash+ npm run db:migrate+ # Optional: seed the database+ # npm run db:seed+ # npm run db:seed:examples+ ```+6. Start the development server+ ```bash+ npm run dev+ ```+## Commit messages+On the main branch, we adhere to the best practices of [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/). All pull requests and branches are squash-merged to maintain a clean and readable history. This approach ensures the addition of a conventional commit message when merging contributions.+## License+Langfuse is MIT licensed, except for `ee/` folder. See [LICENSE](LICENSE) and [docs](https://langfuse.com/docs/open-source) for more details.diff --git a/README.md b/README.mdindex 1682624a6c..6276ba0b7f 100644--- a/README.md+++ b/README.md@@ -218,34 +218,7 @@ To contribute, send us a PR, raise a GitHub issue, or email at contributing@lang### Development setup-Requirements: Node.js 20, npm, Docker--```bash-# Install dependencies-npm install--# Run the db-docker-compose -f docker-compose.dev.yml up -d--# create an env file-cp .env.dev.example .env--# Migration-npm run db:migrate--# Optional: seed the database-# npm run db:seed-# npm run db:seed:examples--# Start the server-npm run dev-```--Run tests--```bash-npm run test-```+See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to setup a development environment.## License