/finances

My personal expenses tracking

Primary LanguageHTML

Finances

My personal expenses tracking using the PHP Slim Framework with Laravel's Eloquent as database provider and Twig as template engine.

Dependencies

  • PHP 5.5 or greater
  • MySQL or MariaDB database
  • Composer dependency manager for PHP
  • intl and pdo_mysql PHP extensions

Setup

Install 3rd party PHP dependencies using Composer:

composer install

Create database using the scripts in db/.

Customize configuration in src/app/settings.php.

Install node dependencies:

npm install

Development

Build CSS from SASS:

grunt dev

To run in development use one of the following commands:

composer start
# or
php -S 0.0.0.0:4000 -t src/public

Then open http://localhost:4000 in a web browser.

Production

Build CSS from SASS:

grunt

Point your virtual host document root to the application's src/public/ directory and ensure logs/ is web writeable.

Copy src/app/settings-local.php.example to src/app/settings-local.php and apply your production settings.