Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (18 loc) · 1.26 KB

simulation-quick-start.md

File metadata and controls

27 lines (18 loc) · 1.26 KB

Simulation Quick Start

Build and deploy the simulation on a local system

bootstrap.sh script clones a Github repository, build container images, and start simulation containers on your machine. Docker and git should be installed and running on your machine.

By default, code from master branch will be cloned to /tmp/spacetech-kubesat folder on your machine.

curl -sSL https://raw.githubusercontent.com/IBM/spacetech-kubesat/master/simulation/devtest/bootstrap.sh | sh

Use the following command to pull code from a specific branch.

curl -sSL https://raw.githubusercontent.com/IBM/spacetech-kubesat/master/simulation/devtest/bootstrap.sh | sh -s -- -b <branch-name>

Use the following command to clone git repo to a specific folder.

curl -sSL https://raw.githubusercontent.com/IBM/spacetech-kubesat/master/simulation/devtest/bootstrap.sh | sh -s -- -r <folder-name>

After several minutes later, all simulation services are running with dashboard at http://localhost:8080

Logs for each service can be found in devtest folder.

After making any code changes, run docker exec -t dev-kubesat bash run.sh to reload kubesat services with code updates.