Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 2.43 KB

quickstart.md

File metadata and controls

54 lines (39 loc) · 2.43 KB

QuickStart

Prerequisites

If you do not already have a running Kubernetes, you can start one with (one of) the options:

  • Laptop: Docker Desktop (recommended), Minikube, Kind, k3s
  • Cluster: Kops (on EC2)
  • Managed service: EKS/AKS/GKE
  • Other distribution: Rancher, OpenShift

⚠️ If you are on Minikube: We are working to resolve a known issue with Minikube (see #30) that is causing errors when running digis.

Install Kubernetes CLI kubectl and package manager helm 3.

  • Run kubectl cluster-info to confirm the Kubernetes is running.

Installation

Digi:

  • Clone the repo https://github.com/digi-project/digi to $GOPATH/src/digi.dev.

  • Run the follwing commands:

    make dep && make digi
    digi

    You should see a list of command provided by digi.

Start the dSpace: digi space start

If you plan to contribute to Digi, please check out development guide.

Examples

Download example digis

You can use the examples to validate digi is set up correctly:

  • Ensure Kubernetes is running: kubectl get pods.
  • Ensure all dSpace controllers (i.e., meta digis) are running: digi space start.
  • In /mocks, run digi run lamp l1 and digi check l1.

You should be able to see the lamp l1's model. See "Frequently used commands" section for additional commands you can use to interact with the digi.

For demos:

Frequently used commands

TBD command table