Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

linksmart/thing-directory

Folders and files

NameName
Last commit message
Last commit date
Jun 17, 2021
Jun 11, 2021
Jun 11, 2021
Jun 21, 2021
Apr 14, 2021
Jun 9, 2021
Dec 29, 2020
May 25, 2021
Feb 26, 2020
Apr 6, 2020
Mar 2, 2020
May 25, 2021
Jun 11, 2021
May 20, 2021
Jun 3, 2020
Apr 29, 2021
Mar 7, 2021
Dec 29, 2020
May 20, 2021
Feb 29, 2020
Jun 11, 2021
Mar 31, 2021

Repository files navigation

LinkSmart Thing Directory

Docker Pulls GitHub tag (latest pre-release) CICD DOI

This is an implementation of the W3C WoT Thing Description Directory (TDD), a registry of Thing Descriptions.

Getting Started

Visit the following pages to get started:

  • Deployment: How to deploy the software, as Docker container, Debian package, or platform-specific binary distributions
  • Configuration: How to configure the server software with JSON files and environment variables
  • API Documentation: How to interact with the networking APIs

Further documentation are available in the wiki.

Features

Development

The dependencies of this package are managed by Go Modules.

Clone this repo:

git clone https://github.com/linksmart/thing-directory.git
cd thing-directory

Compile from source:

go build

This will result in an executable named thing-directory (linux/macOS) or thing-directory.exe (windows).

Get the CLI arguments help (linux/macOS):

$ ./thing-directory -help
Usage of ./thing-directory:
  -conf string
        Configuration file path (default "conf/thing-directory.json")
  -version
        Print the API version

Run (linux/macOS):

$ ./thing-directory --conf=sample_conf/thing-directory.json

To build and run together:

go run . --conf=sample_conf/thing-directory.json

Test all packages (add -v flag for verbose results):

go test ./...

Contributing

Contributions are welcome.

Please fork, make your changes, and submit a pull request. For major changes, please open an issue first and discuss it with the other authors.