# By Manuel Raynaud (27) and others # Via Manuel Raynaud (8) and others * 'coupon' of https://github.com/thelia/thelia: (50 commits) WIP : Coupon : unit tests on Rules WIP : Coupon : unit tests on Rules WIP : Coupon : unit tests on Operator WIP : Coupon functional tests Typo Added UrlRewritingTrait to manage URLs from model classes Merge branch 'master' of https://github.com/thelia/thelia into coupon fix typo Started category management add some php doc integrate swiftMailer as mailer solution add swiftmailer in composer use dump autoloader in all compser scripts remove script part of composer.json file fix typo add some information for OSX requirements No alert bloc default country Autofocus on username field for better use Beautiful login page ...
Readme
Thelia
Thelia is an open source tool for creating e-business websites and managing online content. This software is published under GPL.
Here is the current developping next major version. You can download this version for testing or see the code. Here is the most recent developed code for the next major version (v2). You can download this version for testing or having a look on the code (or anything you wish, respecting GPL).
Most part of the code can possibly change, a large part will be refactor soon, graphical setup does not exist yet.
Requirements
- php 5.4
- apache 2
- mysql 5
If you use Mac OSX, it still doesn't use php 5.4 as default php version... There are many solutions for you :
- use linux (the best one)
- use last MAMP version and put the php bin directory in your path :
export PATH=/Applications/MAMP/bin/php/php5.4.x/bin/:$PATH
- configure a complete development environment : http://php-osx.liip.ch/
- use a virtual machine with vagrant and puppet : https://puphpet.com/
Installation
$ git clone --recursive https://github.com/thelia/thelia.git
$ cd thelia
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install --optimize-autoloader
Finish the installation using cli tools :
$ php Thelia thelia:install
You just have to follow all instructions.
Usage
Consult the page : http://localhost/thelia/web/index_dev.php
You can create a virtual host and choose web folder for root directory.
To run tests (phpunit required) :
$ phpunit
We still have lot of work to achieve but enjoy this part.
