evaldas/currency-converter

dev-master 2015-11-09 21:13 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:12:39 UTC


README

Scrutinizer Code Quality Code Coverage Build Status

PHP application that converts amount from one currency to another.

A Symfony project created on June 29, 2015, 9:24 pm.

Requirements

  • Composer
    • php -r "readfile('https://getcomposer.org/installer');" | php
    • sudo mv composer.phar /usr/local/bin/composer
  • NodeJS with NPM
  • Globally installed Grunt-CLI and Bower packages via NPM
    • sudo npm install -g grunt-cli bower
  • Ruby
    • sudo apt-get install ruby on Debian based systems
    • Use Ruby Installer on Windows
    • Mac OS X is shipped with Ruby preinstalled
  • Compass
    • sudo gem install compass

Setting up

  • composer install to install composer dependencies which are defined in composer.json
  • npm install to install node packages which are defined in package.json file
  • bower install to install bower components which are defined in bower.json file
  • grunt runs jshint and build tasks (concatinates and uglifies js files, optimises images, compiles stylesheets)

Usage

  • php app/console doctrine:schema:update --force to create database schema
  • php app/console currency:rates:update turn everyday cron tab on for this command to insert currencies to database daily