GithubHelp home page GithubHelp logo

austinginder / captaincore-dispatch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crweiner/captaincore-dispatch

1.0 2.0 2.0 49 KB

๐Ÿ”„ Dispatch server which handles communication to and from CaptainCore CLI.

Home Page: https://captaincore.io

License: MIT License

Go 100.00%

captaincore-dispatch's Introduction


CaptainCore Dispatch

CaptainCore Dispatch is a Golang web server part of the CaptainCore toolkit. It handles communication between the WordPress Plugin CaptainCore and CaptainCore CLI.

emoji-log

Warning

This project is under active development and not yet stable. Things may break without notice. Only proceed if your wanting to spend time on the project. Sign up to receive project update at captaincore.io.

Getting started

TO DO

Local development setup

You can run CaptainCore Dispatch locally for development or testing purposes. This requires the following.

  • Install CaptainCore CLI locally
  • Install CaptainCore on a WordPress site locally

Setup instructions

  • Clone the git repo.
  • Create config.json file with
{
    "tokens": [
        {
            "captain_id":"1",
            "token":"RANDOM_TOKEN_CHANGE_ME"
        },
     ],
    "host":"localhost:5826",
    "port":"5826",
    "ssl_mode":"development"
}
  • Use Go to compile and run the server.
go run captaincore-dispatch.go server --debug
  • Import freshly generated CA key certs/ca.crt into computer/browser.
  • Configure local WordPress site running CaptainCore with the token key used within Dispatch config.json. This allows

License

This is free software under the terms of MIT the license (check the LICENSE file included in this package).

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.