!!! note
The [Code of Conduct](https://github.com/reactive-python/reactpy/blob/main/CODE_OF_CONDUCT.md)
applies in all community spaces. If you are not familiar with our Code of Conduct policy,
take a minute to read it before making your first contribution.
The ReactPy team welcomes contributions and contributors of all kinds - whether they come as code changes, participation in the discussions, opening issues and pointing out bugs, or simply sharing your work with your colleagues and friends. We’re excited to see how you can help move this project and community forward!
Trust us, there’s so many ways to support the project. We’re always looking for people who can:
- Improve our documentation
- Teach and tell others about ReactPy
- Share ideas for new features
- Report bugs
- Participate in general discussions
Still aren’t sure what you have to offer? Just ask us and we’ll help you make your first contribution.
For a developer installation from source be sure to install NPM before running:
git clone https://github.com/reactive-python/reactpy-router
cd reactpy-router
pip install -e . -r requirements.txt
This will install an ediable version of reactpy-router
as well as tools you'll need
to work with this project.
Of particular note is nox
, which is used to
automate testing and other development tasks.
nox -t test
You can run the tests with a headed browser.
nox -t test -- --headed
To release a new version of reactpy-router on PyPI:
- Install
twine
withpip install twine
- Update the
version = "x.y.z"
variable inreactpy-router/__init__.py
git
add the changes to__init__.py
and create agit tag -a x.y.z -m 'comment'
- Build the Python package with
python setup.py sdist bdist_wheel
- Check the build artifacts
twine check --strict dist/*
- Upload the build artifacts to PyPI
twine upload dist/*
To release a new version of reactpy-router
on NPM:
- Update
js/package.json
with new npm package version - Clean out prior builds
git clean -fdx
- Install and publish
npm install && npm publish