GithubHelp home page GithubHelp logo

cotproxyweb's Introduction

COTProxyWeb

YouTube: Getting started with COTProxy

COTProxy Web Administration

COTProxyWeb is a web-baesd front-end for the COTProxy program. COTProxyWeb supports creation, replacement, updating and deletion (CRUD) of COTproxy Objects & Transforms.

Concept of Operations CONOPS:

COTProxyWeb Concept of Operations CONOPS

Support This Project

Help: Email [email protected] or Signal/WhatsApp: +1-310-621-9598

This project has been developed for the Disaster Response, Public Safety and Frontline Healthcare community. All contributions further project development and ensure ongoing support.

Support Development: Buy me a coffee!

Installation

COTProxyWeb should be installed from source:

$ git clone https://github.com/ampledata/cotproxyweb.git
$ cd cotproxyweb/
$ python3 -m pip install -r requirements.txt
$ python3 manage.py migrate
$ python3 manage.py createsuperuser \
  --username admin --email [email protected]

Running

COTProxyWeb should be started as a background sevice ('run forever', daemon, etc). Most modern Linux-based operating systems use the systemd System and Service Manager.

CentOS, Debian, Ubuntu, RaspberryOS, Raspbian

These instructions will create, enable and start a service on Linux.

  1. Download the example cotproxy systemd service definition:

    $ sudo wget --output-document=/etc/systemd/system/cotproxyweb.service https://raw.githubusercontent.com/ampledata/cotproxyweb/main/cotproxyweb.service
    

2. Edit the COTProxyWeb service and change CHANGEME to the path to the directory where you downloaded cotproxyweb. (e.g. If you downloaded cotproxyweb to /home/pi/cotproxyweb, CHANGEME should be changed to /home/pi/cotproxyweb):

$ sudo nano /etc/systemd/system/cotproxyweb.service

3. Edit COTProxyWeb's settings.py and append the IP of the system where you're running COTProxyWeb to the HOSTS_ALLOWED list:

$ nano cotproxyweb/settings.py
  1. Enable cotproxyweb systemd service:

    $ sudo systemctl daemon-reload
    $ sudo systemctl enable cotproxyweb
    $ sudo systemctl start cotproxyweb
    
  2. You can view logs with: $ sudo journalctl -xef

Source

Github: https://github.com/ampledata/cotproxyweb

Author

Greg Albrecht W2GMD [email protected]

https://ampledata.org/

Copyright

COTProxyWeb is Copyright 2022 Greg Albrecht

License

COTProxyWeb is licensed under the Apache License, Version 2.0. See LICENSE for details.

cotproxyweb's People

Contributors

ampledata avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cotproxyweb's Issues

Change default http listen port away from 8080 (dump1090)

If I'm running dump1090 and cotproxyweb on the same port, both will attempt to bind to localhost:8080, which is the default listen port for both programs.

Since changing dump1090 is a heavier lift, we'll bite the bullet and change cotproxyweb's default port away from 8080.

This will also require updating cotproxy.

Document method of modifying settings.py for local use (HOSTS_ALLOW)

For example, the default HOSTS_ALLOW is restrictive to only the development environments that me, the developer, are using. If someone spins up cotproxyweb on their own system, it may have a different IP, and thus remote access would require adding that IP to HOSTS_ALLOW.

Work Around:
Just edit cotproxyweb/settings.py in place.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.