Giter Site home page Giter Site logo

ecd's Introduction

System requirements

PHP 5.6 & MySql & Apache

Modules :
php5-mysql
php-apc
php5-curl
php5-gd
php5-ldap
php5-mysql

Implement following changes on the file system :

mkdir -p archive
cp -rp app/tmp_template app/tmp
cp -rp app/config_template app/config
cp app/config/config_example1.php.txt  app/config/config.php
cp app/config/database.php.default app/config/database.php
chown -R www-data:www-data app/tmp archive    (or your apache usersid)

Create a mysql user and database. ECD is currently authenticating trough an openldap server, in the near future also active directory will be supported.

  • Edit config.php, add the ldap server values
  • define( 'GROUP_ADMIN', 10021 ); // 10021 is the Posix group id
  • Configure the database.php
  • cd app/config/schema
  • edit load.sh
  • Enter the mysql credentials or create a .my.cnf
  • Run ./load.sh

This should populate the database

Cronjobs :

0 2,14 * * * /var/www/html/cake/console/cake -app /var/www/html/app/ unregister_all >>/var/log/ecdcron.log

*/15 * * * * /var/www/html/cake/console/cake -app /var/www/html/app/ send_email >>/var/log/send_email.log

0 0 * * * mysql ecd < /var/www/html/app/config/schema/management_report_views.sql >>/var/log/cron-management_report_views.log 2>&1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.