Skip to content

Commit

Permalink
Deployed 3526697 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Nov 6, 2023
0 parents commit 503cbbc
Show file tree
Hide file tree
Showing 122 changed files with 177,258 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,661 changes: 3,661 additions & 0 deletions API/REST_APIDoc/index.html

Large diffs are not rendered by default.

2,999 changes: 2,999 additions & 0 deletions API/REST_API_InternalDoc/index.html

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2,543 changes: 2,543 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,837 changes: 2,837 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,368 changes: 2,368 additions & 0 deletions FreeTAKHub/Video/Installation/index.html

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2,479 changes: 2,479 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,391 changes: 2,391 additions & 0 deletions HowToHelp/1.gettingStartedAsHelper/index.html

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2,310 changes: 2,310 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,378 changes: 2,378 additions & 0 deletions Installation/Ansible/Ansible/index.html

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2,332 changes: 2,332 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,337 changes: 2,337 additions & 0 deletions Installation/Docker/index.html

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2,554 changes: 2,554 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,390 changes: 2,390 additions & 0 deletions Installation/RaspberryPie/Installation/index.html

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2,379 changes: 2,379 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,610 changes: 2,610 additions & 0 deletions Installation/Troubleshooting/troubleshooting/index.html

Large diffs are not rendered by default.

2,314 changes: 2,314 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,632 changes: 2,632 additions & 0 deletions Installation/Windows/FreeTAKServer_Windows_Install/index.html

Large diffs are not rendered by default.

2,637 changes: 2,637 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 503cbbc

Please sign in to comment.