Import your codebase
This page covers the steps to import a code repository into Artemis.
The two options available are:
- Git repository: Where you can import a code project using Git
- Archive: Where you can import a code project from your local device as a .zip file
To start importing a project, go to the Artemis Projects
tab on the left panel, and click the New Project
button on the top right. See image below:
Import a Git repository
You will now see the Create a new Project
page below:
Provide a name and a description (optional) for the code project you are about to create on Artemis.
From the dropdown list in Select the Git key to use for Git authentication
, select a pre-configured Git key.
If you are using a private Git repository, you need to configure a Git key to authenticate Artemis to import the repository. Read Artemis documentation here to set a Git key: Using private code repositories. If you are using a public Git repository, you can continue to import the project without authentication.
Provide the URL for your Git repository, and optionally, provide a preferred branch name and commit hash.
Once you have specified the necessary details, click Create Project
at the bottom of the page.
Import a local folder
If you prefer to import your code project from a local folder, on the Create a new project
page, select the Archive
option. See the image below:
Provide a name and a description (optional) for the code project you are about to create on Artemis.
Click on the Upload your code archive*
section to browse and select the code project.
Once you have specified the necessary details, click Create Project
at the bottom of the page.
View your project
Go to the Projects
tab on the left to view your imported code project.