Skip to content

Instantly share code, notes, and snippets.

@Gromph
Gromph / gist:5f4db73b0f38775bc2f0
Last active September 9, 2019 19:55
Install Cabot on CentOS7 using uwsgi, nginx, and mysql
The Cabot quick start instructions are for auto installing on ubuntu using fabric, gunicorn, postgres.
I wanted to install manually on CentOS 7 running with uwsgi, nginx, mysql, and use our own mail server for
alerts instead of Amazon SES
These are my notes on how I did that.
These notes aren't a complete walkthrough, and a few steps may be missing or wrong, but I thought they might
be helpful anyways.
Setup
1. adduser www
passwd www
@Gromph
Gromph / AutoDiscover.py
Last active September 4, 2015 08:48
AutoDiscover.py for Cabot
"""
Auto Discover proof of concept for Cabot
To use copy to cabot\cabotapp\management\commands\AutoDiscover.py
Run with this command: sh -ac ' . ./conf/production.env; python manage.py AutoDiscover'
"""
from django.core.management.base import BaseCommand
from django.contrib.auth.models import User
from cabot.cabotapp.models import *
from cabot.cabotapp.graphite import *