Skip to content

Code

Overview

You will need to set up a Python environment to develop ReactPy-Router.


Creating an environment

If you plan to make code changes to this repository, you will need to install the following dependencies first:

Once done, you should clone this repository:

git clone https://github.com/reactive-python/reactpy-router.git
cd reactpy-router

Then, by running the command below you can install the dependencies needed to run the ReactPy-Router development environment.

pip install -r requirements.txt --upgrade --verbose

Running the full test suite

Note

This repository uses Nox to run tests. For a full test of available scripts run nox -l.

By running the command below you can run the full test suite:

nox -t test

Or, if you want to run the tests in the background run:

nox -t test -- --headless

Creating a pull request

Now, you can create/modify the ReactPy-Router source code, and Pull Request (PR) your changes to our GitHub repository.

To learn how to create GitHub PRs, click here.


Last update: October 14, 2024
Authors: Mark Bakhit