py27-graphite-web-1.1.5_1.txz


Advertisement

Description

py27-graphite-web - Enterprise scalable realtime graphing platform

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Quarterly amd64
Package filename py27-graphite-web-1.1.5_1.txz
Package name py27-graphite-web
Package version 1.1.5
Package release 1
Package architecture amd64
Package type txz
Category python www
Homepage http://graphiteapp.org
License APACHE20
Maintainer swills@FreeBSD.org
Download size 1.04 MB
Installed size 5.29 MB
Graphite provides real-time visualization and storage
of numeric time-series data on an enterprise level.
WWW: http://graphiteapp.org
WWW: https://github.com/graphite-project/graphite-web
========================================================================
Please note that this port/package overrides the default installation layout
for Graphite! To setup graphite, you will need to:
* Set the SECRET_KEY in /usr/local/etc/graphite/local_settings.py
* Initialize the sqlite user database and create the admin user:
django-admin.py migrate --settings=graphite.settings --run-syncdb
django-admin.py createsuperuser --settings=graphite.settings
* Build the index:
/usr/local/bin/build-index.sh
* Change the ownership of the user database so the webapp can write to it:
chown -R www:www /var/db/graphite/ /var/log/graphite/
* Setup a web server:
Setup Apache by creating a vhost similar to the following:
<VirtualHost *:80>
ServerName graphite
DocumentRoot "/usr/local/share/graphite-web/content/"
# I've found that an equal number of processes & threads tends
# to show the best performance for Graphite (ymmv).
WSGIDaemonProcess graphite processes=5 threads=5 inactivity-timeout=120 display-name=graphite
WSGIProcessGroup graphite
WSGIApplicationGroup graphite
WSGIImportScript /usr/local/etc/graphite/graphite.wsgi process-group=graphite application-group=graphite
# XXX You will need to create this file! There is a graphite.wsgi.example
# file in this directory that you can safely use, just copy it to graphite.wgsi
WSGIScriptAlias / /usr/local/etc/graphite/graphite.wsgi
Alias /content/ /usr/local/share/graphite-web/content/
<Location "/content/">
SetHandler None
</Location>
# XXX In order for the django admin site media to work you
# must change @DJANGO_ROOT@ to be the path to your django
# installation, which is probably something like:
# /usr/lib/python2.6/site-packages/django
#Alias /media/ "@DJANGO_ROOT@/contrib/admin/media/"
Alias /media/ /usr/local/lib/python2.7/site-packages/django
<Location "/media/">
SetHandler None
</Location>
Alias /static/ "/usr/local/lib/python2.7/site-packages/django/contrib/admin/static/"
<Location "/static/">
SetHandler None
</Location>
<Directory "/usr/local/lib/python2.7/site-packages/django/contrib/admin/static/">
Order deny,allow
Allow from all
Require all granted
</Directory>
# The graphite.wsgi file has to be accessible by apache. It won't
# be visible to clients because of the DocumentRoot though.
<Directory /usr/local/etc/graphite/>
Order deny,allow
Allow from all
Require all granted
</Directory>
<Directory /usr/local/share/graphite-web/content/>
Order deny,allow
Allow from all
Require all granted
</Directory>
</VirtualHost>
Now you should be able to access the graphite virtual host you created in the
first step.
==============================================================================

Alternatives

Package Version Architecture Repository
py27-graphite-web-1.1.5_1.txz 1.1.5 i386 FreeBSD Ports Quarterly
py27-graphite-web-1.1.5_1.txz 1.1.5 amd64 FreeBSD Ports Latest
py27-graphite-web-1.1.5_1.txz 1.1.5 i386 FreeBSD Ports Latest
py27-graphite-web - - -

Requires

Name Value
py27-cairo = 1.14.1
py27-carbon = 1.1.5
py27-django-tagging = 0.4.6_1
py27-django111 = 1.11.20
py27-pyparsing = 2.3.1
py27-pytz = 2018.9,1
py27-scandir = 1.9.0
py27-setuptools = 40.8.0
python27 = 2.7.16
xorg-fonts-truetype = 7.7_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package py27-graphite-web-1.1.5_1.txz
Source Package www/py-graphite-web

Install Howto

Install py27-graphite-web txz package:

# pkg install py27-graphite-web

See Also

Package Description
py27-graphql-core2-2.2.1_1.txz GraphQL implementation for Python
py27-graphql-relay2-2.0.1.txz Relay implementation for Python
py27-graphviz-0.10.1.txz Simple Python interface for Graphviz
py27-graphy-1.0.txz Simple chart library for Python
py27-greenlet-0.4.15.txz Light-weight microthreads for Python
py27-grequests-0.3.0.txz Requests with Gevent to make asyncronous HTTP requests
py27-grip-4.5.2_1.txz Preview GitHub Markdown files locally before committing
py27-grizzled-0.9.4_1.txz The Grizzled Python Utility Library
py27-grouch-0.4_2.txz System for describing and enforcing a Python object schema
py27-grpcio-1.26.0.txz HTTP/2-based RPC framework
py27-grpcio-gcp-0.2.2_1.txz gRPC extensions for Google Cloud Platform
py27-grpcio-tools-1.26.0.txz Protobuf code generator for gRPC
py27-gsd-1.9.3.txz GSD (General Simulation Data) file format for Python
py27-gspread-3.0.1.txz Google Spreadsheets Python API
py27-gspreadsheet-0.4.0_1.txz Wrapper around Google Spreadsheets to look like csv.DictReader
Advertisement
Advertisement