Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 2.35 KB

README.md

File metadata and controls

69 lines (49 loc) · 2.35 KB

Twitter Bot

Table of Contents

1) Hardware

1.1) Hardware Requirements

1.2) Hardware Setup

  • Make sure the board is connected to an active network.

2) Software

This guide assumes that Debian OS is running on a Dragonboard410c on all 4 nodes. How ever the instructions hold true for other 96Boards CE Boards running Debian.

This project is compatible with other Linux based OS, but they might have to be tweaked accordingly.

2.1) Install Dependencies

$ sudo apt install python3-setuptools python3-dev python3-pip
$ sudo pip3 install wheel tweepy weather-api datetime pytz pygithub

2.2) Add tokens

2.3) Running the Bot

Test Run

You can run it simply as

$ python3 bot.py

Deploy

From Shell

$ python3 bot.py &

Very basic logs from the python script are pushed to Journal. These can be accessed by:

$ journalctl -xel