Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Installation

Installing using PyPI

We recommend creating a new virtual environment before installing ERAD. Once the new virtual environment is ready, install ERAD using the following command.

pip install NREL-erad

Installing in Development Mode

To install ERAD in development mode, clone the repository and install the dependencies using pip in a new environment:

git clone https://github.com/NLR-Distribution-Suite/erad.git
cd erad
pip install -e[dev,doc] .

This will install ERAD in editable mode, allowing you to make changes to the source code and have them reflected immediately.

Running Tests Locally

To run the test suite locally, use the following command from the root of the repository:

pytest tests/

This will execute all tests in the tests/ directory and report the results. Make sure you have installed all development dependencies before running the tests.