A middleware server and Docker Image based on NGIX Unit that exchanges data between IoT devices and Verizon Thingspace using Verizon's ThingSpace Connectivity Management API.
- VSCode
- Build & run tasks are included
- Configured to use Clang-Tidy
- Docker Buildx
./init.shThis script inits, updates, and resets the git submodules. It then runs bundle && bun install on the front-end submodule, and finally it runs make clean && make.
./build.shp: prune Docker containers, images, and buildx cache after buildr: runs the docker container after building with the options--rm -p 80:80 --name loft_devd: Adds the docker build option--build-arg debug=true- Adds vim to the built image
- Adds the aliases
ls='ls -F --color=auto'&grep='grep -nI --color=auto'to/root/.bashrc - Builds
unitd&libunit.awith the--debugoptiion
m: BuildsDockerfile.minsize; not recomended for development as it offers far less caching
docker run --rm -p 80:80 --name loft_dev loft:devThe server will be viewable at http://localhost:80
docker exec -it loft_dev /bin/bash