Repository for students and researchers working on the ROI project at UNCC.
The various software tools required for this project are included in a docker image built by the Dockerfile given in roi-uncc/docker. This image is built by executing:
docker build -t roi-img .in the directory Dockerfile exists in.
The image can be run using :
docker run --rm -v /ABSOLUTE/PATH/ON/HOST:/ABSOLUTE/PATH/ON/CONTAINER -i -t roi-img /bin/bashThis binds a local host directory to a directory in the container and is a good way to persist files between different invocations of this image.
The included open source softwares are: HELICS, GridLab-D and GridPACK.
Collaboraters are encouraged to push commits into this repository.
The workflow is to push your own local developement branches to GitHub, never push into main. It is recommened to rebase before pushing for clarity. First you must authenticate with GitHub through SSH.
The following steps were tested in Ubuntu 24.04.1 LTS.
- Generate private and public keys if you don't already have them in your ~/.ssh directory:
ssh-keygen -t ed25519 -C "your-email@example.com"-
Extract the contents of
~/.ssh/id_ed25519.puband add tosettings->SSH and GPG keysat github.com. -
Add the private key to your ssh agent:
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519-
Confirm that GitHub recognizes your key with
ssh -T git@github.com -
In your local clone if the remote does not link to the ssh url (can be checked with
git remote -v), set it with:
git remote set-url origin git@github.com:YOUR-USERNAME/roi-uncc.git