Skip to content

workloads/baedge

Repository files navigation

{Ba,E}dge Computing Server

Python-based server for {Ba,E}dge Computing.

Table of Contents

Requirements

Hardware

Software

See requirements.txt for a list of Python dependencies.

Development

For development and testing of this repository:

These dependencies can be installed using the following command:

make deps-dev

Usage

This repository provides a Makefile-based workflow.

Running make without commands will print out the following help information:

🎫 {BA,E}DGE SERVER

Target          Description                                          Usage
routes          list Baedge Server routes using Flask                `make routes`
run             run Baedge Server using Flask                        `make run`
print-env       print environment information                        `make print-env`
print-gpio      print GPIO information using Python                  `make print-gpio`
screen          set Baedge Screen                                    `make screen screen=<screen>`
snyk            check Python files using Snyk                        `make snyk`
deps            install Python dependencies using pip                `make deps`
deps-dev        install Python development dependencies using pip    `make deps-dev`
fix             fix Python files using autopep8                      `make fix`
lint            lint Python files using Flake8 and Pylint            `make lint`
help            display a list of Make Targets                       `make help`
_listincludes   list all included Makefiles and *.mk files           `make _listincludes`
_selfcheck      lint Makefile                                        `make _selfcheck`

Notes

The baedge application is designed to be orchestrated using the baedge Nomad Pack available in the @workloads Nomad Pack Registry.

Contributors

For a list of current (and past) contributors to this repository, see GitHub.

License

Licensed under the Apache License, Version 2.0 (the "License").

You may download a copy of the License at apache.org/licenses/LICENSE-2.0.

See the License for the specific language governing permissions and limitations under the License.