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
[user] | |
name = Julien Deniau | |
email = julien.deniau@gmail.com | |
[alias] | |
st = status | |
lg = log --graph --all --format=format:'%C(blue)%h%C(reset) - %C(cyan)%aD%C(reset) %C(green)(%ar)%C(reset)%C(yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(white)— %an%C(reset)' --abbrev-commit | |
[color] | |
ui = auto | |
[help] |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="mapado/website" default="build" basedir="."> | |
<property name="builddir" value="${project.basedir}/build" override="true" /> | |
<property name="srcdir" value="${project.basedir}/src" override="true" /> | |
<!-- ================================================================== --> | |
<!-- Construction --> | |
<!-- ================================================================== --> | |
<target name="build" depends="clean-up, dependencies, cache, assetic, pdepend, phpmd, phpcpd, phpcs, phploc, atoum" /> |
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
<?php | |
namespace Plop\Tests\Units\Doctrine; | |
use \atoum; | |
class Plip extends atoum | |
{ |
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
{ | |
"minimum-stability": "dev", | |
"require": { | |
"knacss/knaless" : "dev-master" | |
}, | |
"repositories": [ | |
{ | |
"type": "package", | |
"package" : { | |
"name": "knacss/knaless", |
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
# create the virtualenv and work on it | |
mkvirtualenv graphite | |
workon graphite | |
cd $VIRTUAL_ENV # we are now in /home/envs/graphite/ . If you are not, you may have a problem with your virtualenv | |
# apparently you have to make a symlink because cairo does not work with python 2.7 and pip | |
# my cairo module was located on /usr/lib/pymodules/python2.7/cairo Check this path, it may change on your server. | |
# You can execute `locate cairo` to find out. | |
# if this step does not work, you will not have any graphics in graphite later | |
ln -s /usr/lib/pymodules/python2.7/cairo ./lib/python2.7/ |
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
# create the virtualenv and work on it | |
mkvirtualenv graphite | |
workon graphite | |
cd $VIRTUAL_ENV # we are now in /home/envs/graphite/ . If you are not, you may have a problem with your virtualenv | |
# apparently you have to make a symlink because cairo does not work with python 2.7 and pip | |
# my cairo module was located on /usr/lib/pymodules/python2.7/cairo Check this path, it may change on your server. | |
# You can execute `locate cairo` to find out. | |
# if this step does not work, you will not have any graphics in graphite later | |
ln -s /usr/lib/pymodules/python2.7/cairo ./lib/python2.7/ |
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
# create the directory | |
mkdir /opt/graphite | |
# make directory writable by whoever your want. You can chmod 777 if you want to: sudo chmod 777 /opt/graphite | |
# in our exemple, the "users" group, and www-data user (who execute apache) will have write and execute rights | |
sudo setfacl -dR -m m:rwx -m u:www-data:rwx -m g:users:rwx /opt/graphite | |
sudo setfacl -R -m m:rwx -m u:www-data:rwx -m g:users:rwx /opt/graphite | |
# install all required packages | |
pip install django==1.3 # Graphite does not seems to work with django >= 1.4 |
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
<VirtualHost *:80> | |
ServerName graphite.example.com | |
ServerAlias graphite.example.com | |
DocumentRoot "/opt/graphite/webapp" | |
WSGIDaemonProcess graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120 | |
WSGIProcessGroup graphite | |
WSGIApplicationGroup %{GLOBAL} | |
WSGIImportScript /opt/graphite/conf/graphite.wsgi process-group=graphite application-group=%{GLOBAL} |
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
{ | |
graphitePort: 2003 | |
, graphiteHost: "127.0.0.1" | |
, port: 8125 | |
, backends: [ "./backends/graphite", "./backends/console" ] | |
, debug: true | |
} |
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
{ | |
graphitePort: 2003 | |
, graphiteHost: "127.0.0.1" | |
, port: 8125 | |
, backends: [ "./backends/graphite" ] | |
} |
OlderNewer