Skip to content

DemocracyClub/dc-bots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Democracy Club Bots

Orchestration script for running DC Slack and GitHub bots

  • Spin up a t2.nano
  • git clone https://github.com/DemocracyClub/dc-bots.git
  • cd dc-bots
  • sudo ./provision.sh to configure the server
  • ./setupvenv.sh to configure the virtual environment
  • cp settings.example.json settings.json
  • Set up any additional settings
  • Configure cron to run the bots e.g:
MAILTO="someone@example.com"
1 */6 * * * cd /home/ubuntu/dc-bots/ && git pull && /home/ubuntu/dc-bots/bots.sh
10 10 1 * * cd /home/ubuntu/dc-bots/ && /home/ubuntu/dc-bots/prune_logs.sh

About

🤖 Orchestration script for running DC Slack and GitHub bots

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages