IPESE / REHO

Decision Support Tool for Renewable Energy Communities
Apache License 2.0
6 stars 11 forks source link

[JOSS Review]: Use entry point for getting started #23

Closed willu47 closed 2 months ago

willu47 commented 6 months ago

Summary

Instead of requiring users to manually download a folder of data and a script from the repository, develop a simple command-line interface and a test or setup console script which automates this process.

Detailed design

A command such as $ reho setup would download (or copy from the installed package) the required data and scripts to the current folder and then execute them.

Notes and comments

No response

DorsanL commented 3 months ago

Thank you for this suggestion. Entry points for test have been added. https://github.com/IPESE/REHO/commit/4a63b03aec4f85ae097582e4bd1ab2c3b5d03e0c

The "Checking proper installation" section of the documentation has been updated accordingly. https://reho.readthedocs.io/en/main/sections/5_Getting_started.html#checking-proper-installation

DorsanL commented 2 months ago

Available entry points are:

reho-test-import
reho-test-run
reho-download-examples

They allow to verify the proper installation of REHO (import, run, plot), and to download available examples for people who have installed the package and not cloned the full repository.