Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

TechAtNYU/overlord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overlord

Overlord now runs:

Overlord

Features

  • Database backup on (backup.py):

    • API server (MongoDB)
    • Jira (built-in)
    • Discuss (Postgres)
    • Slack conversations daily
  • Monitoring and restarting (server.py):

    • techatnyu.org
    • services.tnyu.org
  • Feedback

    • Send feedback forms for events after they end.
  • Rebuilding static front-end for (static.py):

    • intranet
    • intranet-staging
    • startup-week
    • ship

Running Overlord (in development):

  • Install dependencies with $ pip install -r requirements.txt
  • Install and/or run RabbitMQ.
  • $ celery -A overlord.celery worker --loglevel=info & (run in background)

Running Overlord (in production):

  • Install dependencies with $ pip install -r requirements.txt
  • $ supervisord
  • $ supervisorctl (to see if everything starts)
  • $ nohup flower --port=5555 --basic_auth=tnyu:pw1 & (run in background)
  • To restart something: $ supervisorctl restart celeryd or supervisorctl restart overlord
  • To stop something: $ supervisorctl stop celeryd (etc.)