Skip to content

Commit

Permalink
Deployed 043cc32 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Nov 23, 2023
0 parents commit db63131
Show file tree
Hide file tree
Showing 122 changed files with 178,161 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
2,211 changes: 2,211 additions & 0 deletions 404.html

Large diffs are not rendered by default.

3,811 changes: 3,811 additions & 0 deletions API/REST_APIDoc/index.html

Large diffs are not rendered by default.

3,007 changes: 3,007 additions & 0 deletions API/REST_API_InternalDoc/index.html

Large diffs are not rendered by default.

2,293 changes: 2,293 additions & 0 deletions About/FAQ/index.html

Large diffs are not rendered by default.

2,551 changes: 2,551 additions & 0 deletions About/FeaturesCompared/index.html

Large diffs are not rendered by default.

2,257 changes: 2,257 additions & 0 deletions About/Manifesto/index.html

Large diffs are not rendered by default.

5,299 changes: 5,299 additions & 0 deletions About/architecture/COTDomain/index.html

Large diffs are not rendered by default.

28,535 changes: 28,535 additions & 0 deletions About/architecture/COTTable/index.html

Large diffs are not rendered by default.

2,972 changes: 2,972 additions & 0 deletions About/architecture/MilSTD2525/index.html

Large diffs are not rendered by default.

2,383 changes: 2,383 additions & 0 deletions FreeTAKHub/Integration/NodeRedinstallation/index.html

Large diffs are not rendered by default.

2,376 changes: 2,376 additions & 0 deletions FreeTAKHub/Video/Installation/index.html

Large diffs are not rendered by default.

2,358 changes: 2,358 additions & 0 deletions FreeTAKHub/VideoChecker/VideoCheck/index.html

Large diffs are not rendered by default.

2,367 changes: 2,367 additions & 0 deletions FreeTAKHub/Voice/VoiceServer/index.html

Large diffs are not rendered by default.

2,503 changes: 2,503 additions & 0 deletions FreeTAKHub/WebMap/Installation/index.html

Large diffs are not rendered by default.

Binary file added FreeTakServerLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,411 changes: 2,411 additions & 0 deletions HowToHelp/1.gettingStartedAsHelper/index.html

Large diffs are not rendered by default.

2,459 changes: 2,459 additions & 0 deletions HowToHelp/DevelopmentSetup/index.html

Large diffs are not rendered by default.

2,312 changes: 2,312 additions & 0 deletions Installation/Android/Android/index.html

Large diffs are not rendered by default.

2,315 changes: 2,315 additions & 0 deletions Installation/Android/installUIOnAndroid/index.html

Large diffs are not rendered by default.

2,392 changes: 2,392 additions & 0 deletions Installation/Ansible/Ansible/index.html

Large diffs are not rendered by default.

2,402 changes: 2,402 additions & 0 deletions Installation/Ansible/ZeroTouchInstall/index.html

Large diffs are not rendered by default.

2,378 changes: 2,378 additions & 0 deletions Installation/Cloud/AWS/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,383 changes: 2,383 additions & 0 deletions Installation/Cloud/index.html

Large diffs are not rendered by default.

2,311 changes: 2,311 additions & 0 deletions Installation/Docker/CLI/index.html

Large diffs are not rendered by default.

2,336 changes: 2,336 additions & 0 deletions Installation/Docker/Debian/index.html

Large diffs are not rendered by default.

2,334 changes: 2,334 additions & 0 deletions Installation/Docker/Multiple Servers/multiple/index.html

Large diffs are not rendered by default.

2,311 changes: 2,311 additions & 0 deletions Installation/Docker/Quick Start Guide/index.html

Large diffs are not rendered by default.

2,340 changes: 2,340 additions & 0 deletions Installation/Docker/Raspberry Pi/index.html

Large diffs are not rendered by default.

2,260 changes: 2,260 additions & 0 deletions Installation/Docker/Upgrade/Upgrade/index.html

Large diffs are not rendered by default.

2,349 changes: 2,349 additions & 0 deletions Installation/Docker/index.html

Large diffs are not rendered by default.

2,340 changes: 2,340 additions & 0 deletions Installation/InfrastructurePlanning/index.html

Large diffs are not rendered by default.

2,972 changes: 2,972 additions & 0 deletions Installation/Linux/1_Install/index.html

Large diffs are not rendered by default.

2,390 changes: 2,390 additions & 0 deletions Installation/Linux/3_ManualConfiguration/index.html

Large diffs are not rendered by default.

2,381 changes: 2,381 additions & 0 deletions Installation/Linux/Running/index.html

Large diffs are not rendered by default.

2,598 changes: 2,598 additions & 0 deletions Installation/Linux/Service/index.html

Large diffs are not rendered by default.

2,256 changes: 2,256 additions & 0 deletions Installation/Linux/Update/index.html

Large diffs are not rendered by default.

2,406 changes: 2,406 additions & 0 deletions Installation/RaspberryPie/Installation/index.html

Large diffs are not rendered by default.

2,325 changes: 2,325 additions & 0 deletions Installation/Tools/index.html

Large diffs are not rendered by default.

2,387 changes: 2,387 additions & 0 deletions Installation/Troubleshooting/InstallationCheck/index.html

Large diffs are not rendered by default.

2,339 changes: 2,339 additions & 0 deletions Installation/Troubleshooting/SocketIssue/index.html

Large diffs are not rendered by default.

2,691 changes: 2,691 additions & 0 deletions Installation/Troubleshooting/troubleshooting/index.html

Large diffs are not rendered by default.

2,322 changes: 2,322 additions & 0 deletions Installation/Video Guides/index.html

Large diffs are not rendered by default.

Binary file added Installation/Windows/COT_error_Wireshark.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Installation/Windows/CotError.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Installation/Windows/FTS_windows.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,646 changes: 2,646 additions & 0 deletions Installation/Windows/FreeTAKServer_Windows_Install/index.html

Large diffs are not rendered by default.

2,645 changes: 2,645 additions & 0 deletions Installation/Windows/FreeTAKServer_Windows_Install_Tutorial/index.html

Large diffs are not rendered by default.

93 changes: 93 additions & 0 deletions Installation/Windows/MainConfig.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
import os

currentPath = os.path.dirname(os.path.abspath(__file__))
from pathlib import Path


class MainConfig:
"""
this is the main configuration file and is the only one which
should need to be changed
"""
# this is the port to which clients will connect
CoTServicePort = int(os.environ.get('FTS_COT_PORT', 8087))

SSLCoTServicePort = int(os.environ.get('FTS_SSLCOT_PORT', 8089))

# this needs to be changed for private data packages to work
DataPackageServiceDefaultIP = str(os.environ.get('FTS_DP_ADDRESS', "0.0.0.0"))

# User Connection package IP needs to be set to the IP which is used when creating the connection in your tak device
UserConnectionIP = str(os.environ.get('FTS_USER_ADDRESS', "0.0.0.0"))

#Path to the site-packages dir in your python installation
python_install_path = 'C:\\Software\\python\\Lib\\site-packages'

# api port
APIPort = os.environ.get('FTS_API_PORT', 19023)

# Federation port
FederationPort = os.environ.get('FTS_FED_PORT', 9000)

# api IP
APIIP = os.environ.get('FTS_API_ADDRESS', '0.0.0.0')

# allowed ip's to access CLI commands
AllowedCLIIPs = ['127.0.0.1']

# IP for CLI to access
CLIIP = '127.0.0.1'

# whether or not to save CoT's to the DB
SaveCoTToDB = bool(os.environ.get('FTS_COT_TO_DB', True))

# this should be set before startup

DBFilePath = str(os.environ.get('FTS_DATA_PATH', fr'{python_install_path}\\FreeTAKServer\\') + "FTSDataBase.db")

# the version information of the server (recommended to leave as default)
version = 'FreeTAKServer-1.7.5 Public'

MainPath = str(os.environ.get('FTS_DATA_PATH',
Path(fr'{python_install_path}\\FreeTAKServer')))

ExCheckMainPath = str(Path(fr'{MainPath}\\ExCheck'))

ExCheckFilePath = str(Path(fr'{MainPath}\\ExCheck\\template'))

ExCheckChecklistFilePath = str(Path(fr'{MainPath}\\ExCheck\\checklist'))

DataPackageFilePath = str(Path(fr'{MainPath}\\FreeTAKServerDataPackageFolder'))

# format of API message header should be {Authentication: Bearer 'TOKEN'}
from uuid import uuid4
id = str(uuid4())

nodeID = os.environ.get('FTS_NODE_ID', f"FreeTAKServer-{id}")

# set to None if you don't want a message sent
ConnectionMessage = f'Welcome to FreeTAKServer {version}. The Parrot is not dead. It’s just resting'

certsPath = os.environ.get('FTS_CERTS_PATH', fr'{MainPath}/certs')

keyDir = str(Path(fr'{certsPath}\\pubserver.key'))

pemDir = str(Path(fr'{certsPath}\\pubserver.pem')) # or crt

unencryptedKey = str(Path(fr'{certsPath}\\pubserver.key.unencrypted'))

p12Dir = str(Path(fr'{certsPath}\\pubserver.p12'))

CA = str(Path(fr'{certsPath}\\ca.pem'))
CAkey = str(Path(fr'{certsPath}\\ca.key'))

federationCert = str(Path(fr'{certsPath}\\pubserver.pem'))
federationKey = str(Path(fr'{certsPath}\\pubserver.key'))
federationKeyPassword = str(os.environ.get('FTS_FED_PASSWORD','defaultpass'))

# location to backup client packages
clientPackages = str(Path(fr'{MainPath}\\certs\\ClientPackages'))

password = str(os.environ.get('FTS_PASSWORD', 'defaultpass'))

websocketkey = os.environ.get('FTS_WEBSOCKET_KEY', "YourWebsocketKey")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions Installation/Windows/StartFreeTAKServer.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
::START THE SERVER
ECHO ON
start cmd /k python -m FreeTAKServer.controllers.services.FTS
::WHEN RUNNING THE SCRIPT FROM A DIFFERENT DRIVE ADD THE `/D` SWITCH TO YOUR CD COMMAND
CD C:\Software\python\Lib\site-packages\FreeTAKServer-UI
set FLASK_APP=run.py
flask run
pause
Binary file added Installation/Windows/advanced.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Installation/Windows/chkpypip.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 84 additions & 0 deletions Installation/Windows/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# -*- encoding: utf-8 -*-
"""
License: MIT
Copyright (c) 2019 - present AppSeed.us
"""

import os
from os import environ

class Config(object):

basedir = os.path.abspath(os.path.dirname(__file__))

SECRET_KEY = 'key'

# This will connect to the FTS db
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + 'C:\\Software\\python\\Lib\\site-packages\\FreeTAKServer\\FTSDataBase.db'

# certificates path
certpath = "C:\\Software\\python\\Lib\\site-packages\\FreeTAKServer\\certs\\"

# crt file path
crtfilepath = f"{certpath}pubserver.pem"

# key file path
keyfilepath = f"{certpath}pubserver.key.unencrypted"

# this IP will be used to connect with the FTS API
IP = '127.0.0.1'

# Port the UI uses to communicate with the API
PORT = '19023'

# the public IP your server is exposing
APPIP = '127.0.0.1'

# this port will be used to listen
APPPort = 5000

# the webSocket key used by the UI to communicate with FTS.
WEBSOCKETKEY = 'YourWebsocketKey'

# the API key used by the UI to comunicate with FTS. generate a new system user and then set it
APIKEY = 'Bearer token'

# For 'in memory' database, please use:
# SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'

SQLALCHEMY_TRACK_MODIFICATIONS = False

# THEME SUPPORT
# if set then url_for('static', filename='', theme='')
# will add the theme name to the static URL:
# /static/<DEFAULT_THEME>/filename
# DEFAULT_THEME = "themes/dark"
DEFAULT_THEME = None


class ProductionConfig(Config):
DEBUG = False

# Security
SESSION_COOKIE_HTTPONLY = True
REMEMBER_COOKIE_HTTPONLY = True
REMEMBER_COOKIE_DURATION = 3600

# PostgreSQL database
SQLALCHEMY_DATABASE_URI = 'postgresql://{}:{}@{}:{}/{}'.format(
environ.get('APPSEED_DATABASE_USER', 'appseed'),
environ.get('APPSEED_DATABASE_PASSWORD', 'appseed'),
environ.get('APPSEED_DATABASE_HOST', 'db'),
environ.get('APPSEED_DATABASE_PORT', 5432),
environ.get('APPSEED_DATABASE_NAME', 'appseed')
)


class DebugConfig(Config):
DEBUG = True


config_dict = {
'Production': ProductionConfig,
'Debug': DebugConfig
}
Binary file added Installation/Windows/features.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Installation/Windows/pythoninstall.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions Installation/Windows/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
flask
flask_login
flask_migrate
flask_wtf
flask_sqlalchemy
email_validator
gunicorn
coveralls
coverage
pytest
flake8
flake8-print
pep8-naming
selenium
Loading

0 comments on commit db63131

Please sign in to comment.