This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
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 * |