# HG changeset patch # User drewp@bigasterisk.com # Date 1581163342 28800 # Node ID 9ca69f2be87b0eec76ec12a007f434b7cb8e0884 # Parent fdddbdaf07b504b7c4d30d08cfee0cd61f5ee0ab more mqtt_to_rdf renames. bring in basic LitElement setup for the debug page Ignore-this: 85e2ab49915e44b08219e537fab21870 diff -r fdddbdaf07b5 -r 9ca69f2be87b service/mqtt_to_rdf/.devcontainer/devcontainer.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/service/mqtt_to_rdf/.devcontainer/devcontainer.json Sat Feb 08 04:02:22 2020 -0800 @@ -0,0 +1,27 @@ +{ + "name": "dev", + "context": "..", + "dockerFile": "../Dockerfile", + + // Use 'settings' to set *default* container specific settings.json values on container create. + // You can edit these settings after create using File > Preferences > Settings > Remote. + "settings": { + "terminal.integrated.shell.linux": "/bin/bash", + "python.pythonPath": "/usr/bin/python3", + "python.linting.enabled": true + //"python.linting.pylintEnabled": true, + //"python.linting.pylintPath": "/usr/local/share/pip-global/bin/pylint" + }, + + // Use 'appPort' to create a container with published ports. If the port isn't working, be sure + // your server accepts connections from all interfaces (0.0.0.0 or '*'), not just localhost. + "appPort": [], + + // Add the IDs of extensions you want installed when the container is created in the array below. + "extensions": [ + "ms-python.python", + "gregorbiswanger.package-watcher", + "hoffs.vscode-versionlens", + "esbenp.prettier-vscode" + ] +} diff -r fdddbdaf07b5 -r 9ca69f2be87b service/mqtt_to_rdf/Dockerfile --- a/service/mqtt_to_rdf/Dockerfile Thu Feb 06 16:36:35 2020 -0800 +++ b/service/mqtt_to_rdf/Dockerfile Sat Feb 08 04:02:22 2020 -0800 @@ -7,7 +7,8 @@ RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' COPY *.py *.html *.css *.js *.n3 ./ +COPY build/bundle.js build/ EXPOSE 10018:10018 -CMD [ "python3", "./rdf_from_mqtt.py" ] +CMD [ "python3", "./mqtt_to_rdf.py" ] diff -r fdddbdaf07b5 -r 9ca69f2be87b service/mqtt_to_rdf/index.html --- a/service/mqtt_to_rdf/index.html Thu Feb 06 16:36:35 2020 -0800 +++ b/service/mqtt_to_rdf/index.html Sat Feb 08 04:02:22 2020 -0800 @@ -1,22 +1,16 @@ - rdf_from_mqtt + mqtt_to_rdf - - - - - - - - - + + -