From 036239530a62d886df5d9a668cdfb2a2ede088ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 27 Jan 2015 13:02:32 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 81db220..79ad65d 100644 --- a/README.md +++ b/README.md @@ -39,12 +39,14 @@ import octoprint.plugin class HelloWorldPlugin(octoprint.plugin.StartupPlugin): def on_after_startup(self): self._logger.info("Hello World!") + __plugin_name__ = "Hello World" __plugin_implementations__ = [HelloWorldPlugin()] ``` -Test it (e.g. via ``python setup.py develop``. If everything works like it should, commit your code, then push it to -your plugin's repository (this assumes you already created it on Github as ``you/OctoPrint-MyNewPlugin``), e.g.: +Test it (e.g. via ``python setup.py develop``). If everything works, write a nice ``README.md``, replacing the existing one. +Commit your code, then push it to your plugin's repository (this assumes you already created it on Github as +``you/OctoPrint-MyNewPlugin``), e.g.: git commit -a -m "Initial commit of MyNewPlugin" git remote set-url origin git@github.com:you/OctoPrint-MyNewPlugin.git