forked from IQTLabs/SkyScan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sh
20 lines (16 loc) · 883 Bytes
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
printf "\n\nCreating SkyScan Project Folder..."
mkdir ./SkyScan
cd SkyScan
printf "\n\nDownload Docker-Compose SkyScan Files..."
curl -fsSL https://raw.githubusercontent.com/IQTLabs/SkyScan/main/docker-compose.yml -o docker-compose.yml
curl -fsSL https://raw.githubusercontent.com/IQTLabs/SkyScan/main/env-example -o .env
printf "\n\nDownload Aircraft Database..."
mkdir ./data
curl -fsSL https://opensky-network.org/datasets/metadata/aircraftDatabase.csv -o ./data/aircraftDatabase.csv
printf "\n\nDownload Docker Containers..."
docker-compose pull
printf "\n\n\n\n--------------------------------------------------------------------"
printf "\n1: Configure network interface to same as Axis Camera (192.168.1.x)"
printf "\n2: Configure .env file appropriately"
printf "\n3: docker-compose up"
printf "\n--------------------------------------------------------------------\n\n"