118 lines
2.5 KiB
Plaintext
118 lines
2.5 KiB
Plaintext
README
|
|
======
|
|
|
|
- System Requirements
|
|
- Installation
|
|
- Project
|
|
- Library
|
|
|
|
Note : Project are define to be use on Linux Server, so take care about path and file name.
|
|
Also some script (CLI) don't work on Windows.
|
|
|
|
|
|
SYSTEM REQUIREMENTS
|
|
===================
|
|
|
|
- Apache 2.2
|
|
- PHP 5.3.x
|
|
- APC
|
|
|
|
|
|
INSTALLATION
|
|
============
|
|
|
|
See the file scripts/build/configure.php
|
|
|
|
On server this script is automatically called with the install option.
|
|
configure.php --install
|
|
|
|
Each servers are reference with a directory, name as the hostname, in config dir and all configure
|
|
file is list here
|
|
|
|
|
|
Environment configuration
|
|
-------------------------
|
|
|
|
- Variables
|
|
|
|
Define application environment in the vhost. This mode activate special features and debugging mode.
|
|
|
|
SetEnv APPLICATION_ENV "production" => Production
|
|
SetEnv APPLICATION_ENV "staging" => Recette
|
|
SetEnv APPLICATION_ENV "development" => Developpement
|
|
|
|
|
|
Apache configuration
|
|
--------------------
|
|
|
|
=> Development example
|
|
|
|
<VirtualHost *:80>
|
|
ServerName sdciblage.sd.dev
|
|
AddDefaultCharset utf-8
|
|
DirectoryIndex index.php
|
|
SetEnv APPLICATION_ENV "development"
|
|
DocumentRoot "WORKSPACE/sdciblage/public"
|
|
<Directory "WORKSPACE/sdciblage/public/">
|
|
AllowOverride none
|
|
Order allow,deny
|
|
Allow from all
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteCond %{REQUEST_URI} ^/favicon.ico$ [OR]
|
|
RewriteCond %{REQUEST_FILENAME} -s [OR]
|
|
RewriteCond %{REQUEST_FILENAME} -l [OR]
|
|
RewriteCond %{REQUEST_FILENAME} -d
|
|
RewriteRule ^.*$ - [NC,L]
|
|
RewriteRule ^.*$ index.php [NC,L]
|
|
</IfModule>
|
|
</Directory>
|
|
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
|
|
LogLevel notice
|
|
ErrorLog "logs/sdciblage-error.log"
|
|
CustomLog "logs/sdciblage-access.log" common
|
|
</VirtualHost>
|
|
|
|
|
|
PHP Configuration
|
|
-----------------
|
|
|
|
Session
|
|
-------
|
|
On sharing plateform, these parameters must be specified to the best value for all web application
|
|
|
|
session.gc_maxlifetime = 86400
|
|
session.cookie_lifetime = 86400
|
|
|
|
Application must override the session.save_path, soap.wsdl_cache_dir to define it's own path.
|
|
|
|
|
|
Project
|
|
=======
|
|
|
|
The purpose of this application is to select a list of company and extract information.
|
|
On the interface, filter is apply for the selection. And the deliver file, a csv file, give all
|
|
the detail of companies.
|
|
|
|
Structure
|
|
---------
|
|
- Zend Framework version 1.x
|
|
|
|
|
|
Assets
|
|
------
|
|
- JQuery
|
|
- JQuery-UI
|
|
|
|
Development
|
|
-----------
|
|
|
|
|
|
Library
|
|
=======
|
|
|
|
Scores_Ciblage
|
|
Scores_Enrichissement
|
|
Scores_Fields
|
|
|