Help Center/ CodeArts Artifact/ User Guide/ Self-Hosted Repos 1.0/ Connecting Self-Hosted Repos to Your Local Development Environment 1.0
Updated on 2024-10-16 GMT+08:00

Connecting Self-Hosted Repos to Your Local Development Environment 1.0

Downloading Configuration Files of Self-Hosted Repos

You can connect the self-hosted repo to a local development environment so that private components in the self-hosted repo can be used during local development.

  1. Go to the self-hosted repo page. In the left pane, click the name of the repository to be connected to your local development environment.
  2. Click Tutorial on the right of the page.
  3. In the displayed dialog box, click Download Configuration File to download the configuration file to your local directory.

  4. Copy the downloaded file to the corresponding directory based on the instructions in the information dialog box.

Resetting Repository Password

You can download the configuration file to connect the self-hosted repo with your local development environment. The repository password is the password in the self-hosted repo configuration file. Therefore, after the repository password is reset, download the latest configuration file again to replace the original file.

  1. Go to the self-hosted repo page. Click above the repository list on the left and choose Reset Repository Password.
  2. In the displayed dialog box, click Confirm. Check that a message is displayed indicating the password has been reset.

You can also upload and download private components through a client. The procedure is the same as that of self-hosted repo 2.0. For details, see Uploading Components to Self-Hosted Repos on the Client and Downloading Components from Self-Hosted Repos on the Client.