This is an old revision of the document!
Firmware Team Meeting - September 13, 15, 2022
Attended: Jaeden, Jon, Lyon
Updates
September 13, 2022
- Downloaded code onto new computer
- Login to github
- Go into Control Tower repositiory and download zip.
- Install postgresql, python3, and python3-pip using
- su - (makes a sudo user) –> enter password –> “apt install sudo”
- su - –> enter password –> “sudo apt-get install postgresql python3 python3-pip”
- Check if the ssh daemon is installed and running is to run “sudo systemctl status sshd”
- Get out of the root using exit
- install openssh-server package using sudo apt-get install openssh-server
- ssh into the machine from within it using “ssh localhost”
- Extract “control-tower-master” from documents and place it in home(looking at Software Fall 2022 Documentation and Note: How to Open the Gateway)
- cd control-tower –> cd gateway
- sudo ./run_production.sh auto –> pulls from the weather box from the roof
- control-tower/gateway/src and control-tower/gateway
- change python to python3 in run_production.sh (control-tower/gateway/src)
- make sure requirements file is in the same directory and run cat requirements.txt
- Note: new computer so there are different ports
- use sudo chmod a+rw to give permission for port
- python3 works
- Took out Python2 syntax (ex: from decoder import Decoder) and ran production without the sudo
- Gave permission to user to use the port
- Gateway/src working
September 15, 2022
Goals
- Opening Gateway
Meeting
- Tuesday, Thursday: 1:00-3:30pm