-
Notifications
You must be signed in to change notification settings - Fork 0
1. Preparation
- Log onto your GitHub Account at GitHub.com or create a GitHub account at GitHub.com
- Please share your GitHub account name by emailing it to OSPO@alliander.com, so that we can add you to the NBility-Model GitHub organization.
- Accept the invitation to join the NBility-Model GitHub organization. Note that this process may take some time as it requires manual intervention by the NBility-Model maintainers. In the meantime, you can proceed with step 4.
- To configure Archi for Github integration you would need to create a Personal Access Token (PAT) from your user account. For a detailed overview of the process you can visit https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-toke
Alternatively, you can follow the steps below:
-
Select [Settings] from your account menu (look for the avatar at the right-top of the page)
-
Select [Developer settings] from the menu on the left-hand of the page
-
Select [Personal access tokens] and then [Tokens (classic)]
-
Select [Generate new token] and then [Generate new token (classic)]
-
Enter your token name, set the token expiry and select the [repo] scope for the token
-
Click [Generate token]
-
Copy the token from the screen and store it securely for configuration purposes. IMPORTANT: YOU CANNOT RETRIEVE THE TOKEN AFTER IT HAS BEEN GENERATED AND DISPLAYED ON THIS PAGE. IF YOU LOOSE IT YOU WILL NEED TO GENERATE A NEW TOKEN.
- Download and install the latest version of Archi from https://www.archimatetool.com/download/
-
Download the most recent version of coArchi plug-in zip file from the Archi plugins page.
-
In Archi, select "Manage Plug-ins..." from the main Help menu. From the Plug-ins Manager window, select "Install New..." and select the coArchi plug-in zip file. You may need to restart Archi to activate the plug-in. Please ensure the plug-in version supports the installed version of Archi.
-
If your plug-in installation was successful, the [Collaboration] menu item should be visible appear on the application menu in Archi after restarting Archi.
Once you have configured Archi and coArchi, and generated your Github Personal Access Token (PAT) you will be able to import the Nbility model into archi.
-
In Archi, select [Import Remote Model to Workspace] from Collaboration menu. You may need to provide Archi a master password to unlock this feature. IMPORTANT: YOU CANNOT RETRIEVE THE MASTER PASSWORD AFTERWARDS. IF YOU LOOSE IT YOU MAY WILL NEED TO REINSTALL ARCHI.
-
In the Add Remote Model modal, provide the following information:
Field Description URL The full web URL of the repo: https://github.com/username/reponame.git User Name Your Github user name Password The Github Personal Access Token (PAT) you generated earlier It is possible that you could use your GitHub credentials as-is in the screen. However, it is recommended that you enable 2FA on your Github account to protect access to the repo. In this case you will only be able to log onto Github from Archi using the Github Personal Access Token (PAT).
To obtain the repo URL, you can copy of from the Clone address: