Welcome! You've arrived at our Contributing page and are now one step away from joining our quest to make coding more fun. We're thankful for all your contributions, whether it's helping us find issues in our code, highlighting features we're missing, or contributing to the codebase. If you've found your way here, you'll soon be ready to join in the fun of building features and fixing bugs directly with us - and we're thrilled to have you on board!
To get you started on a good foot, we've created an easy overview of the most important things to get you started contributing code to Teo below as well as a Code of Conduct for contributing to the development of Teo.
Welcome to the repository for the TEO HTTP server framework.
>=1.67
, latest is recommended>=20
, latest or lastest LTS is recommended>=3.3
, latest is recommended>=20
, latest or latest LTS is recommended>=3.12
, latest is recommendedRun this setup in a new empty directory script to set up repositories.
bash <(curl -o- https://raw.githubusercontent.com/teocloud/teo-development-setup/main/setup.sh)
bash <(wget -qO- https://raw.githubusercontent.com/teocloud/teo-development-setup/main/setup.sh)
bash <(curl -o- https://gitee.com/teocloud/teo-development-setup/raw/main/setup.sh)
bash <(wget -qO- https://gitee.com/teocloud/teo-development-setup/raw/main/setup.sh)
cargo run
Please do not write code in languages other than English.
We structure our messages like this:
<type>[(<feature>[/<subfeature>]?)]?: <subject>
<BLANK LINE>
<body>
Run this command to startup testing databases:
docker-compose -f databases.yml up -d
To run integration tests, use this command:
RUST_TEST_THREADS=1 cargo test --test '*'
Pull Request authors must sign the TEO Cloud CLA, it will show up in an automated comment after you create a PR.
If you cannot or do not want to sign this CLA (e.g. your employment contract for your employer may not allow this), you should not submit a PR. Open an issue and someone else can do the work.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。