Hi, I wanted to to follow the steps from the User Guide: Custom deployment:
Follow these steps to run your custom project
- Prepare your environment
- Clone your repository from the custom-project template.
Then initialize and update the openremote submodule withgit submodule init
andgit submodule update --rebase --remote
from your custom project directory after cloning the repo. This is easiest if you have an SSH-key in your Github account- Set up your IDE. Note that Application run configurations are already prepared when using this template.
Usedocker-compose -f profile\dev-testing.yml up --build -d
and run the ‘Custom Deployment’ configuration. You should have two containers running in Docker, and the manager through your IDE.- Next we serve the Manager UI from the
/openremote/ui/app/manager
directory withnpm run serve -- --env config=..\..\..\..\deployment\manager\app
.
Unfortunately the command git submodule update --rebase --remote
leads to the following error:
C:\Users\stockl\Documents\Git-Repositories\openremote3\custom-project>git submodule update --rebase --remote
Cloning into ‘C:/Users/stockl/Documents/Git-Repositories/openremote3/custom-project/openremote’…
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.
fatal: clone of ‘git@github.com:openremote/openremote.git’ into submodule path ‘C:/Users/stockl/Documents/Git-Repositories/openremote3/custom-project/openremote’ failed
Failed to clone ‘openremote’. Retry scheduled
Cloning into ‘C:/Users/stockl/Documents/Git-Repositories/openremote3/custom-project/openremote’…
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.
fatal: clone of ‘git@github.com:openremote/openremote.git’ into submodule path ‘C:/Users/stockl/Documents/Git-Repositories/openremote3/custom-project/openremote’ failed
Failed to clone ‘openremote’ a second time, aborting
Does someone has an idea how to solve this? I tried everything …