forked from s3832043/vxhubsbotmrcafe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_demos
52 lines (47 loc) · 1.57 KB
/
run_demos
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#! /bin/bash
echo "== Demo Menu =="
if [ $# -ne 0 ]
then
case $1 in
1 | "doors" | "door_demo" | "prox" | "proximity" | "proximity doors")
echo "Running proximity door demo"
./build && docker run --cap-add=SYS_ADMIN -it vxbot npm run demo_picker $1
;;
2 | "rosie" | "Rosie" )
echo "Rosie demo currently under development"
./build && docker run --cap-add=SYS_ADMIN -it vxbot npm run demo_picker $1
;;
3 | "image" | "sequence" | "image sequence" )
echo "Image sequence demo currently under development"
./build && docker run --cap-add=SYS_ADMIN -it vxbot npm run demo_picker $1
;;
4 | "slides" | "slide deck" )
echo "Slide deck demo currently under development"
./build && docker run --cap-add=SYS_ADMIN -it vxbot npm run demo_picker $1
;;
5 | "fire" | "fire exit" )
echo "Fire Exit demo currently under development"
./build && docker run --cap-add=SYS_ADMIN -it vxbot npm run demo_picker $1
;;
*)
echo "usage: $0 [demo-name OR demo-number]"
echo ""
echo "Please select a demo to run"
echo "1. Proximity doors"
echo "2. Rosie"
echo "3. Image sequence"
echo "4. Slide Deck (WIP)"
echo "5. Fire Exit"
;;
esac
else
echo "No arguments detected"
echo "usage: $0 [demo-name OR demo-number]"
echo ""
echo "Please select a demo to run"
echo "1. Proximity doors"
echo "2. Rosie"
echo "3. Image sequence"
echo "4. Slide Deck (WIP)"
echo "5. Fire Exit"
fi