Port details on branch 2022Q2 |
- py-graphite-web Enterprise scalable realtime graphing platform
- 1.1.10 www
=2 1.1.10Version of this port present on the latest quarterly branch.
- DEPRECATED: No support for newer versions of Django
This port expired on: 2022-06-30
- Maintainer: bofh@FreeBSD.org
- Port Added: 2012-02-22 03:41:17
- Last Update: 2022-06-30 07:19:28
- Commit Hash: 34686472
- People watching this port, also watch:: zfs-stats, smartmontools
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/graphite-project/graphite-web
- Description:
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}graphite-web>0:www/py-graphite-web@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- Conflicts Matches:
-
There are no Conflicts Matches for this port. This is usually an error.
- No installation instructions:
- This port has been deleted.
- PKGNAME: py38-graphite-web
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1654111675
SHA256 (graphite-project-graphite-web-1.1.10_GH0.tar.gz) = 1ac42a2871ea58b76b42aa3671affb87c7a92616e949bf1312fca831075a501b
SIZE (graphite-project-graphite-web-1.1.10_GH0.tar.gz) = 1462045
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py38-setuptools>=62.1.0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- Runtime dependencies:
-
- py38-cairo>=1.8.10 : graphics/py-cairo@py38
- py38-carbon>=1.1.10 : databases/py-carbon@py38
- py38-django-tagging>=0.4.6 : www/py-django-tagging@py38
- py38-django22>=1.8<3.1 : www/py-django22@py38
- py38-gunicorn>0 : www/py-gunicorn@py38
- py38-pyparsing2>=2.3.0 : devel/py-pyparsing2@py38
- py38-python-memcached>=1.58 : databases/py-python-memcached@py38
- py38-pytz>0 : devel/py-pytz@py38
- py38-six>0 : devel/py-six@py38
- py38-txamqp>=0.8 : net/py-txamqp@py38
- py38-urllib3>0 : net/py-urllib3@py38
- py38-whisper>0 : databases/py-whisper@py38
- py38-whitenoise>=4.1.2 : www/py-whitenoise@py38
- bash : shells/bash
- xorg-fonts-truetype>=0 : x11-fonts/xorg-fonts-truetype
- py38-setuptools>=62.1.0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- www_py-graphite-web
- USES:
- cpe python shebangfix
- pkg-message:
- For install:
- 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/python3.8/site-packages/django
<Location "/media/">
SetHandler None
</Location>
Alias /static/ "/usr/local/lib/python3.8/site-packages/django/contrib/admin/static/"
<Location "/static/">
SetHandler None
</Location>
<Directory "/usr/local/lib/python3.8/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.
- Master Sites:
|