When I started writing userstories I was done so fast. Then to see if I made some good stories I used INVEST.
I had made a userstory like this:
"As an owner
I want to be able to see if devices are online or offline, from anywhere
So I allways can check whether it's working or not"
I realized that it might be to big for me on the S-scalable point of INVEST. "from anywhere" means I need to make a webbsite accessible from anywhere. I could maybe cut it down to 2 sepparate stories.
"As an owner
I want to be able to see if devices are online or offline
So I can check whether it's working or not"
This would let me have the status available by attaching a monitor to the R-pi. And then later focus on making an online everywhere-accessible server.
And why this trouble of dividing up? Because of MVP and agile. Building the smallest possible thing first is of great value when thinking agile.
So well after this I let it be for now and focus on learning about how to decide what's the best solution to see offline/online status at an MVP-stage. I focused on understanding if it was possible to make a server on the raspberry pi that could easily be accessed by a computer connected on the same local area network and wanted to see how hard it is to get it online on the whole internet.
I did it and learned some django on the way. I also connected it in a simple way to the internet completely so I can work from home, as long as the pi is on and online. But how exactly to set up a website that runs online on the whole internet I need to check up. If we need to change settings in a router and the broadband, it might be a lot of trouble it the product is going out to customers with all kinds of internet distributors and routers.
Really nice videos on Django and python
Getting the raspberry pi online and editable on the local area network:
https://www.raspberrypi.org/documentation/remote-access/vnc/
Getting the raspberry pi online on the WHOLE internet:
https://www.raspberrypi.org/documentation/remote-access/access-over-Internet/README.md
It was supersimple using dataplicity but you are restricted to a terminal there. So it's not as fun.
On monday I will check the userstories if they are suitable and continue setting up for scrum. I also need to see if I can get a webserver running without configuring the router or getting a static ip.
Inga kommentarer:
Skicka en kommentar