mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
refs #478, added new resources
* blueprints for bootstrap files * private bootstrap file
This commit is contained in:
committed by
Mathew Sutcliffe
parent
ad146069ef
commit
5e42aa0b95
62
resources/bootstrap/development/bootstrap.json
Normal file
62
resources/bootstrap/development/bootstrap.json
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
{
|
||||||
|
"bootstrap": {
|
||||||
|
"containerbase": [
|
||||||
|
{
|
||||||
|
"url": "https://vatsim-germany.org:50443/mapping/public/bootstrap"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://ubuntu12/public/bootstrap"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"dbIcaoReader": {
|
||||||
|
"url": "http://ubuntu12/vatrep/public"
|
||||||
|
},
|
||||||
|
"dbModelReader": {
|
||||||
|
"url": "http://ubuntu12/vatrep/public"
|
||||||
|
},
|
||||||
|
"fsdTestServers": {
|
||||||
|
"containerbase": [
|
||||||
|
{
|
||||||
|
"address": "vatsim-germany.org",
|
||||||
|
"description": "swift Testserver",
|
||||||
|
"isAcceptingConnections": true,
|
||||||
|
"name": "swift",
|
||||||
|
"port": 6809,
|
||||||
|
"user": {
|
||||||
|
"callsign": {
|
||||||
|
"callsign": "",
|
||||||
|
"callsignAsSet": "",
|
||||||
|
"telephonyDesignator": "",
|
||||||
|
"typeHint": 0
|
||||||
|
},
|
||||||
|
"email": "",
|
||||||
|
"homebase": {
|
||||||
|
"icaoCode": ""
|
||||||
|
},
|
||||||
|
"id": "1234567",
|
||||||
|
"password": "123456",
|
||||||
|
"realname": "Swift Test User"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"swiftDbDataFiles": {
|
||||||
|
"containerbase": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"timestampMSecsSinceEpoch": 0,
|
||||||
|
"vatsimBookings": {
|
||||||
|
"url": "http://vatbook.euroutepro.com/xml2.php"
|
||||||
|
},
|
||||||
|
"vatsimDataFile": {
|
||||||
|
"containerbase": [
|
||||||
|
{
|
||||||
|
"url": "http://info.vroute.net/vatsim-data.txt"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"vatsimMetars": {
|
||||||
|
"url": "http://metar.vatsim.net/metar.php"
|
||||||
|
}
|
||||||
|
}
|
||||||
62
resources/bootstrap/productive/bootstrap.json
Normal file
62
resources/bootstrap/productive/bootstrap.json
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
{
|
||||||
|
"bootstrap": {
|
||||||
|
"containerbase": [
|
||||||
|
{
|
||||||
|
"url": "https://vatsim-germany.org:50443/mapping/public/bootstrap"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://ubuntu12/public/bootstrap"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"dbIcaoReader": {
|
||||||
|
"url": "https://vatsim-germany.org:50443/mapping/public"
|
||||||
|
},
|
||||||
|
"dbModelReader": {
|
||||||
|
"url": "https://vatsim-germany.org:50443/mapping/public"
|
||||||
|
},
|
||||||
|
"fsdTestServers": {
|
||||||
|
"containerbase": [
|
||||||
|
{
|
||||||
|
"address": "vatsim-germany.org",
|
||||||
|
"description": "swift Testserver",
|
||||||
|
"isAcceptingConnections": true,
|
||||||
|
"name": "swift",
|
||||||
|
"port": 6809,
|
||||||
|
"user": {
|
||||||
|
"callsign": {
|
||||||
|
"callsign": "",
|
||||||
|
"callsignAsSet": "",
|
||||||
|
"telephonyDesignator": "",
|
||||||
|
"typeHint": 0
|
||||||
|
},
|
||||||
|
"email": "",
|
||||||
|
"homebase": {
|
||||||
|
"icaoCode": ""
|
||||||
|
},
|
||||||
|
"id": "1234567",
|
||||||
|
"password": "123456",
|
||||||
|
"realname": "Swift Test User"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"swiftDbDataFiles": {
|
||||||
|
"containerbase": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"timestampMSecsSinceEpoch": 0,
|
||||||
|
"vatsimBookings": {
|
||||||
|
"url": "http://vatbook.euroutepro.com/xml2.php"
|
||||||
|
},
|
||||||
|
"vatsimDataFile": {
|
||||||
|
"containerbase": [
|
||||||
|
{
|
||||||
|
"url": "http://info.vroute.net/vatsim-data.txt"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"vatsimMetars": {
|
||||||
|
"url": "http://metar.vatsim.net/metar.php"
|
||||||
|
}
|
||||||
|
}
|
||||||
62
resources/local.env.template/bootstrap/bootstrap.json
Normal file
62
resources/local.env.template/bootstrap/bootstrap.json
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
{
|
||||||
|
"bootstrap": {
|
||||||
|
"containerbase": [
|
||||||
|
{
|
||||||
|
"url": "https://vatsim-germany.org:50443/mapping/public/bootstrap"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "http://ubuntu12/public/bootstrap"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"dbIcaoReader": {
|
||||||
|
"url": "http://ubuntu12/vatrep/public"
|
||||||
|
},
|
||||||
|
"dbModelReader": {
|
||||||
|
"url": "http://ubuntu12/vatrep/public"
|
||||||
|
},
|
||||||
|
"fsdTestServers": {
|
||||||
|
"containerbase": [
|
||||||
|
{
|
||||||
|
"address": "vatsim-germany.org",
|
||||||
|
"description": "swift Testserver",
|
||||||
|
"isAcceptingConnections": true,
|
||||||
|
"name": "swift",
|
||||||
|
"port": 6809,
|
||||||
|
"user": {
|
||||||
|
"callsign": {
|
||||||
|
"callsign": "",
|
||||||
|
"callsignAsSet": "",
|
||||||
|
"telephonyDesignator": "",
|
||||||
|
"typeHint": 0
|
||||||
|
},
|
||||||
|
"email": "",
|
||||||
|
"homebase": {
|
||||||
|
"icaoCode": ""
|
||||||
|
},
|
||||||
|
"id": "1234567",
|
||||||
|
"password": "123456",
|
||||||
|
"realname": "Swift Test User"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"swiftDbDataFiles": {
|
||||||
|
"containerbase": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"timestampMSecsSinceEpoch": 0,
|
||||||
|
"vatsimBookings": {
|
||||||
|
"url": "http://vatbook.euroutepro.com/xml2.php"
|
||||||
|
},
|
||||||
|
"vatsimDataFile": {
|
||||||
|
"containerbase": [
|
||||||
|
{
|
||||||
|
"url": "http://info.vroute.net/vatsim-data.txt"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"vatsimMetars": {
|
||||||
|
"url": "http://metar.vatsim.net/metar.php"
|
||||||
|
}
|
||||||
|
}
|
||||||
5
resources/local.env.template/readme.txt
Normal file
5
resources/local.env.template/readme.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
For running a local setup:
|
||||||
|
|
||||||
|
1) Copy the local environment template to some place
|
||||||
|
2) Adjust the locations as required
|
||||||
|
3) Point the variable SWIFT_SETUP_DIR to this
|
||||||
@@ -7,9 +7,17 @@ CONFIG -= qt
|
|||||||
OTHER_FILES += data/images/flags/*.png
|
OTHER_FILES += data/images/flags/*.png
|
||||||
OTHER_FILES += data/images/airlines/*.png
|
OTHER_FILES += data/images/airlines/*.png
|
||||||
OTHER_FILES += swiftDB/*.*
|
OTHER_FILES += swiftDB/*.*
|
||||||
|
OTHER_FILES += bootstrap/productive/*.*
|
||||||
|
OTHER_FILES += bootstrap/development/*.*
|
||||||
|
OTHER_FILES += local.env.template/*.*
|
||||||
|
OTHER_FILES += local.env.template/bootstrap/*.*
|
||||||
|
|
||||||
COPY_FILES += $$PWD/data/images/flags/*.png
|
COPY_FILES += $$PWD/data/images/flags/*.png
|
||||||
COPY_FILES += $$PWD/data/images/airlines/*.png
|
COPY_FILES += $$PWD/data/images/airlines/*.png
|
||||||
COPY_FILES += $$PWD/swiftDB/*.*
|
COPY_FILES += $$PWD/swiftDB/*.*
|
||||||
|
COPY_FILES += $$PWD/bootstrap/productive/*.*
|
||||||
|
COPY_FILES += $$PWD/bootstrap/development/*.*
|
||||||
|
COPY_FILES += $$PWD/local.env.template/*.*
|
||||||
|
COPY_FILES += $$PWD/local.env.template/bootstrap/*.*
|
||||||
|
|
||||||
load(common_post)
|
load(common_post)
|
||||||
|
|||||||
Reference in New Issue
Block a user