Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.
/ firehouse Public archive

Twitter bot for the Firehouse Film Contest

Notifications You must be signed in to change notification settings

fionn/firehouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firehouse

Deployment

Make a virtual environment with make venv and enter it with source venv/bin/activate.

Twitter credentials should be stored in the environment variables CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN and ACCESS_TOKEN_SECRET. For systemd, these should be in the .env file in the root of this repository, without any export directives.

Data from the API should be saved in data/films.json. It can be retrieved with data/get_films.sh.

Link the unit files to their system locations, then enable the timer.