GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - msgflo/msgflo-project: Project template for MsgFlo

BranchesTags
Open more actions menu

Latest commit

 

History

78 Commits
78 Commits

Folders and files

NameName
Last commit message
Last commit date
components
components
 
 
examples
examples
 
 
graphs
graphs
 
 
spec
spec
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
Dockerfile
Dockerfile
 
 
Dockerfile-raspberrypi3
Dockerfile-raspberrypi3
 
 
README.md
README.md
 
 
docker-compose-raspberrypi3.yml
docker-compose-raspberrypi3.yml
 
 
docker-compose.yml
docker-compose.yml
 
 
package.json
package.json
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

msgflo-project Greenkeeper badge Build Status Docker Hub x86 Docker Hub Raspberry Pi3

This repository provides a template for creating and running new MsgFlo projects.

Features

  • Support for JavaScript components
  • Support for CoffeeScript components
  • Support for Python 3 components
  • docker-compose runnable environment

Getting started

  • Fork this repository and name it to whatever suits your purpose
  • Update the project name and repository details accordingly in package.json
  • If you need additional libraries, add them to package.json (for Node.js) or requirements.txt (for Python 3)

You can use this template for development both with a direct installation or with Docker.

Running locally

  • Install and start a Mosquitto message broker
  • Install the Node.js dependencies of this project with npm install
  • Install the Python 3 dependencies of this project with pip3 install -r requirements.txt
  • Start the MsgFlo broker with MSGFLO_BROKER=mqtt://localhost npm start

Running with Docker

  • Ensure you have a running Docker daemon
  • Start the project with docker-compose up (use docker-compose-raspberrypi3.yml file if you want to run on RPi3)

Note: by default the MsgFlo coordinator and MQTT ports are only available on localhost. Edit the ports declarations in docker-compose.yml if you want to open them to the outside.

Editing in Flowhub

Everything is set up so that you can edit the project in Flowhub

Once you've installed and started the service either locally or with Docker, open Flowhub with:

http://app.flowhub.io#runtime/endpoint?protocol%3Dwebsocket%26address%3Dws%3A%2F%2Flocalhost%3A3569

You should see an empty graph. Click Edit as project to start hacking!

Use Flowhub's GitHub synchronization feature to push your graph and component changes to your repository.

Test automation

  • Enable your local fork in Travis CI
  • Tests are written in fbp-spec format and located in spec/ folder
  • You can run tests locally with npm test (note: you'll have to do npm install for this even when running with Docker)

Changes

  • 1.0.0 (git master)
    • Switched from Python 2 to Python 3

About

Project template for MsgFlo

Topics

dockergetting-startedmsgflo

Resources

Readme
Activity
Custom properties

Stars

6 stars

Watchers

1 watching

Forks

8 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.