Skip to content

# Download Repository

You can easily download CAPIF to run in local environment following next steps:

## 1. Create a folder to download the project

    mkdir OpenCAPIF

    cd OpenCAPIF

## 2. Download the deployment script

Download the deployment / environment preparation script (press here to directly download script):

    wget https://labs.etsi.org/rep/ocf/capif/-/raw/staging/deploy.sh

Make it executable:

    chmod +x deploy.sh

## 3. Run the deployment script

This script selects the branch for capif repository project to pull from.

If you run the script without selecting a branch the the main branch is going to be selected.

We recommend:

- main branch for the most stable experience and staging branch for an experience with the latest features (for staging branch installation, it is strongly advisable that you may as well follow the staging documentation)

    # ./deploy.sh [branch to fetch] [true or false (default) to install monitoring stack or not]

    sudo ./deploy.sh staging

> We recommend running the deploy.sh script with root permissions! In other case, some directories may not be accessible by the project building tools and hinder the smooth installation.