Coder Social home page Coder Social logo

pat's Introduction

Pat Docker

Pat WinLink Client in a Docker container

To build the Docker image

docker build -t pat:1.0 .

To run the Docker container. This will give you a command prompt within the container.

docker run -v $PWD/config:/root/.wl2k:rw -p 8080:8080 --rm -it pat:1.0 /bin/bash

To configure Pat

pat configure

You will need to first create a WinLink account that uses your callsign; then, at least, change these two entries in the pat configuration

"mycall": "your_callsign",

"secure_login_password": "your_winlink_password",

You may also wish to change the port that pat runs on and can do that here. Make sure to change the docker run line above accordingly if you change the port here! I reccomend changing the default address of localhost to 0.0.0.0 to allow the pat http server to be reached by other devices on your network.

"http_addr": "0.0.0.0:8080",

Your pat configuration should be saved to the config folder of your host machine. This folder is created for you by 'docker run' due to the '-v $PWD/config:/root/.wl2k:rw' flag. The config folder will contain your user settings as well as mailboxes and will be reused as long as you launch the container from the same place.

To run Pat HTTP server

pat http

pat's People

Contributors

gregeigsti avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

ve7ppe

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.