GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — clixon-controller/start-controller-demo.sh at main · clicon/clixon-controller

Expand file tree

/

start-controller-demo.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
21 lines (16 loc) · 722 Bytes
/

start-controller-demo.sh

Copy path

File metadata and controls

executable file
·
21 lines (16 loc) · 722 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# Check if any of the containers controller-demo, r1 or r2 are running
if [ "$(docker ps -q -f name=demo-controller)" ] || [ "$(docker ps -q -f name=r1)" ] || [ "$(docker ps -q -f name=r2)" ]; then
echo "Error: Containers controller-demo, r1 or r2 are already running. Please stop them before starting the demo."
exit 1
fi
docker compose -f docker/docker-compose-demo.yml up -d
sleep 5
# Echo the SSH key to the console
echo ""
echo "Public SSH key for controller:"
docker exec -t demo-controller bash -c "cat /root/.ssh/id_rsa.pub"
# Echo the CLI command to the console
echo ""
echo "To start Controller CLI run:"
echo "docker exec -it demo-controller clixon_cli -f /usr/local/etc/clixon/controller.xml"
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.