---
# System prepended metadata

title: Wikibase Suite Deploy v3 - Demo

---

# Wikibase Suite Deploy v3 demo for WBSG


## Setup VPS

1) Spec and provision machine
2) Install Docker (https://docs.docker.com/engine/install/debian):
    ```
    # Set up Docker's apt repository
    sudo apt-get update
    sudo apt-get install ca-certificates curl
    sudo install -m 0755 -d /etc/apt/keyrings
    sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
    sudo chmod a+r /etc/apt/keyrings/docker.asc
    # Add the repository to Apt sources:
    echo \
      "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
      $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
      sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
    sudo apt-get update
    
    # Install the Docker package:
    sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
    
    # Verify that the installation is successful by running the hello-world image:
    sudo docker run hello-world
    ```
3) Install Git and VIM:
    ```
    sudo apt update
    sudo apt install git
    sudo apt install vim
    ```
4) Checkout WBS Deploy, and version branch:
    ```
    git clone https://github.com/wmde/wikibase-release-pipeline.git
    cd wikibase-release-pipeline
    git checkout wbsg-demo
    ```

## Setup DNS Entries to point to the VPS

* [Go to my DNS service to configurate entries](https://ap.www.namecheap.com/Domains/DomainControlPanel/berlinresidency.art/advancedns) and create A records for "wikibase", "wdqs", and "quickstatements" all which point to the VPS IP address.

## Configure WBS Deploy on the VPS

- Following along with `deploy/README.md`, do the following:
    * `cd deploy` 
    * Copy `deploy/template.env` to `deploy/.env`
    * Review notes and edit values in `.env`
        ```
        wikibase.berlinresidency.art
        wdqs.berlinresidency.art
        quickstatements.berlinresidency.art
        admin@berlinresidency.art
        ```
    * Start services for the first time: `docker compose up --wait`

## Go!

* https://wikibase.berlinresidency.art
* https://wdqs.berlinresidency.art
* https://quickstatements.berlinresidency.art
