- Create a remote repository in Artifactory with the name ‘conan-remote’.
- Create a local repository in Artifactory with the name ‘conan-local’.
Add above both repositories into a virtual repository called ‘conan-virtual’.
Because of conan-virtual is, we can use the same repository either to upload from a local machine or to pull from upstream. Artifactory takes care of forwarding the requests to the right repository.
Note: If you want to skip virtual repository, you can also work with individual remote and local repositories, however the above description is a best practice.