forked from jenkins-khan/Jenkins-Khan
-
Notifications
You must be signed in to change notification settings - Fork 0
How to install Jenkins Khan
srogier edited this page May 15, 2012
·
6 revisions
cd /path/to/your/workspace
git clone git://github.com/pmsipilot/Jenkins-Khan.git
cd Jenkins-Khan
git submodule init
git submodule update
CREATE DATABASE jenkins_khan DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL ON jenkins_khan.* TO jenkins_khan@localhost IDENTIFIED BY 'jenkins_khan-sql-password';
FLUSH PRIVILEGES;
cp config/databases.yml-dist config/databases.yml
cp config/propel.ini-dist config/propel.ini
cp config/properties.ini-dist config/properties.ini
Edit those new files, to configure the database connexion.
./symfony jk:init
With public directory : /path/to/your/workspace/Jenkins-Khan/web
Apache configuration file sample :
Alias /jenkins-khan/packed /path/to/your/workspace/Jenkins-Khan/cache/packed
Alias /jenkins-khan /path/to/your/workspace/Jenkins-Khan/web
<Directory "/path/to/your/workspace/Jenkins-Khan/web">
AllowOverride All
Allow from All
</Directory>
<Directory "/path/to/your/workspace/Jenkins-Khan/cache/packed">
Allow from All
<IfModule mod_deflate.c>
BrowserMatch ^Mozilla/4 no-gzip
BrowserMatch \bMSIE\s7 !no-gzip
BrowserMatch \bMSIE.*SV !no-gzip
BrowserMatch \bOpera !no-gzip
SetOutputFilter DEFLATE
Header append Vary User-Agent env=!dont-vary
</IfModule>
</Directory>
<FilesMatch "\.(gif|jpg|jpeg|png|css|js)$">
FileETag none
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 11 months"
</IfModule>
</FilesMatch>