52 lines
1.5 KiB
Markdown
52 lines
1.5 KiB
Markdown
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.
|
|
|
|
Installation
|
|
------------
|
|
|
|
``` bash
|
|
$ git clone --recursive https://github.com/thelia/thelia.git
|
|
$ cd thelia
|
|
$ wget http://getcomposer.org/composer.phar
|
|
$ php composer.phar install
|
|
```
|
|
Create a mysql database and import sql dump files located in the install folder : thelia.sql first, then insert.sql.
|
|
|
|
Configure mysql connection :
|
|
``` bash
|
|
$ cd local/config
|
|
$ cp config_db.mysql.php config_db.php
|
|
```
|
|
|
|
Edit config_db.php file and fulfill your mysql connection parameters :
|
|
- replace ```__DB_LOGIN__``` with your mysql user
|
|
- replace ```__DB_PASSWORD__``` with your mysql password
|
|
- replace ```__DB_NAME__``` with you database name
|
|
- replace ```__DB_HOST__``` with your mysql host
|
|
|
|
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) :
|
|
|
|
``` bash
|
|
$ phpunit
|
|
```
|
|
|
|
We still have lot of work to achieve but enjoy this part.
|
|
|