Lab 1
I previously have a raspberry pi with noobs installed and anything else required on it so i was prepared to move forward with the remaining labs
Lab 2
Pictured below is the raspberry pi terminal that I was able to run and show on my pi
Lab 3
I ran these commands in the terminal pictured above:
$ cd pypy
$ gcc -o test test.c
$ time ./test
$ time pypy test.py
$ time python test.py
$ time python3 test.py
$ pypy -m cProfile test.py
$ python -m cProfile test.py
$ python3 -m cProfile test.py
Lab 4
Here are some other commands that I implemented:
I did as much as I could do with the equipment that I had\
Flask
$ sudo pip3 install -U flask-ask
$ sudo pip3 install 'cryptography<2.2'
$ sudo wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip
$ sudo unzip ngrok-stable-linux-arm.zip
Django
$ pip3 -V
$ sudo pip3 install -U setuptools
$ sudo pip3 install -U django
$ sudo pip3 install -U djangorestframework
$ sudo pip3 install -U django-filter
$ sudo pip3 install -U markdown
$ sudo pip3 install -U requests
Lab 5
Here are some screenshots I took after installing Docker and Mosquitto
Lab 6
Here are the commands I used:
$ node -h
$ node -v
$ cd ~/iot/lesson6
$ node hello.js
$ node http.js
This lab worked well and I was able to print successfully to the screen
Lab 7
TBD