pettersoderlund / fondout

(fondout)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wercker status

Installing the application:

Requirements:

  • php 5.4=<
  • MYSQL
  • npm
  • composer
  • bower
  • grunt

pull repository

$npm install && composer install && bower install && grunt less

A number of extensions are needed (often to be activated in your apache config httpd.conf) Find instructions following the first two pages on https://framework.zend.com/manual/2.3/en/ref/installation.html

Remember that the php module is NOT enabled by default in macOS.

php config: you must set timezone in php.ini eg: date.timezone = Europe/Stockholm

DATABASE

For development database should be named 'fondout_maxi', which holds fund data for a rage of dates.

For production a minified fondout database should be used, this database is called 'fondout'. This is created through a script in the scripts folder, export_minimize_db (usage $sh export_minimize_db). To use this file script/dbconfig.local must be set with the according credentials. A template is provided in dbconfig.local.dist.

Additionally to run the application config files for zf2 should be set in config/autoload/local.php where a template for which values are needed is provided in local.php.dist.

LARGE DOCUMENTS (that is not stored in version control)

PDF documents are currently on the openshift server stored in the $OPENSHIFT_DATA_DIR. public/documents is therefore in the gitignore and symlinked in a actionhook on the openshift server. Files used today are referenced from sparahallbart.se/products for price lists and product sheets. files are uploaded to openshift staging and production server through e.g. rhc scp --app stage upload -f Sites/fondout/public/documents/large-document.pdf -r app-root/data

About

(fondout)

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 53.2%Language:HTML 23.4%Language:Python 11.6%Language:CSS 9.7%Language:JavaScript 1.2%Language:ApacheConf 0.6%Language:Shell 0.4%