]> git.aero2k.de Git - sirius.git/commitdiff
Organise README into usage and architecture section.
authorTom Hunger <tehunger@gmail.com>
Wed, 14 Jan 2015 18:47:42 +0000 (18:47 +0000)
committerTom Hunger <tehunger@gmail.com>
Wed, 14 Jan 2015 18:47:42 +0000 (18:47 +0000)
README.md

index 6ffac7995b024d5daf6c49e329b707613875fe26..649f8db90c9fd9de366bf6112e5f133d07f635b4 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,5 +1,4 @@
-sirius
-======
+# Using Sirius
 
 First point your bridge at your laptop, port 5002 (or similar).
 
@@ -9,6 +8,29 @@ Then run:
 $ bin/gunicorn -k flask_sockets.worker sirius.server:app -b 0.0.0.0:5002 -w 1
 ```
 
+Navigate browser to http://127.0.0.1:5002/
+
+
+## Creating fake printers
+
+Resetting the actual hardware all the time gets a bit tiresome so
+there's a fake command that creates unclaimed fake little printers:
+
+```console
+$ ./manage.py fake printer
+[...]
+Created printer
+     address: 602d48d344b746f5
+       DB id: 8
+      secret: 66a596840f
+  claim code: 5oop-e9dp-hh7v-fjqo
+```
+
+Functionally there is no difference between resetting and creating a
+new printer so we don't distinguish between the two.
+
+# Sirius Architecture
+
 ## Layers
 
 ```
@@ -59,21 +81,3 @@ We are also deriving this hardware xor when a device calls home with
 an "encryption_key_required". In that case we connect the device to
 the claim code via the hardware-xor and send back the correct
 encryption key.
-
-## Creating fake printers
-
-Resetting the actual hardware all the time gets a bit tiresome so
-there's a fake command that creates unclaimed fake little printers:
-
-```console
-$ ./manage.py fake printer
-[...]
-Created printer
-     address: 602d48d344b746f5
-       DB id: 8
-      secret: 66a596840f
-  claim code: 5oop-e9dp-hh7v-fjqo
-```
-
-Functionally there is no difference between resetting and creating a
-new printer so we don't distinguish between the two.