Skip to content

kerel-fs/ogn-skylines-gateway

Repository files navigation

OGN Skylines Gateway

Build Status This application forwards packets from the OpenGliderNetwork to Skylines.

Installation and Setup (dev)

  1. Create virtual maschine with vagrant

    vagrant up
    
  2. Log in to the virtual maschine

    vagrant ssh
    
  3. Initialize the database and import registered devices from the DDB

    cd /vagrant
    ./manage.py db.init
    ./manage.py devices.import_ddb
    
  4. Insert some data into the database

    ./manage.py users.insert "DEADBEEF" "DD1234"
    

Running the server

Start the gateway with the follwing command.

./manage.py run --logfile 'ogn-skylines.log'

manage.py - Usage

usage: manage.py [<namespace>.]<command> [<args>]

positional arguments:
  command     the command to run

optional arguments:
  -h, --help  show this help message and exit

available commands:
  run                      Run the ogn-->skylines gateway.

  [db]
    drop                   Drop all tables.
    init                   Initialize the database.

  [devices]
    import_ddb             Import registered devices from the DDB (discards all devices before import).
    show_all               Show all devices with known location.
    show_nearby            Show nearby devices.

  [users]
    delete                 Delete a user.
    insert                 Insert a new user.
    show                   Show a user.
    show_all               Show all users.

License

Licensed under the AGPLv3 or any later version.

Author

Fabian P. Schmidt, kerel-fs@gmx.de

Contact

  • IRC: kerel on freenode, related channels: #skylines and #glidernet on freenode
  • email

About

glidernet gateway for skylines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published