thelia / thelia-project
Thelia is an ecommerce CMS.
Installs: 7 945
Dependents: 0
Suggesters: 0
Security: 0
Stars: 61
Watchers: 13
Forks: 19
Open Issues: 3
Language:Shell
Requires
- symfony/flex: ^1.19
- thelia/better-seo-module: ~2.1.0
- thelia/canonical-url-module: ~2.1.0
- thelia/choice-filter-module: ~2.1.0
- thelia/custom-delivery-module: ~3.1.0
- thelia/frontoffice-modern-template: ~2.5.4
- thelia/open-api-module: ^2.2
- thelia/product-loop-attribute-filter-module: ~2.0.0
- thelia/reset-password-module: ~1.0.1
- thelia/rewrite-url-module: ~2.1.0
- thelia/short-code-meta-module: ~2.0.0
- thelia/smarty-redirection-module: ~2.0.0
- thelia/store-seo-module: ~2.0.0
- thelia/thelia-blocks-module: ^2.0.3-beta
- thelia/thelia-library-module: ^1.1.7
- thelia/thelia-skeleton: ~2.5.4
- thelia/url-sanitizer-module: ~2.1.0
Suggests
- cqfdev/best-sellers-module: Show your best sellers on your home page
- thelia/alternate-hreflang-module: Generates a alternateHreflang URL for every page of your shop
- thelia/order-creation-module: Create order from admin
- vlopes/maintenance-module: Add a way to put your site in maintenance mode
- dev-master
- dev-main
- 2.6.x-dev
- 2.5.x-dev
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.5.0-alpha2
- 2.5.0-alpha1
- 2.4.x-dev
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.x-dev
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.3.0-beta2
- 2.3.0-beta1
- 2.3.0-alpha2
- 2.3.0-alpha1
- 2.2.x-dev
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.2.0-beta3
- 2.2.0-beta2
- 2.2.0-beta1
- 2.2.0-alpha2
- 2.2.0-alpha1
- 2.1.x-dev
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.1.0-beta2
- dev-twig
- dev-api
This package is auto-updated.
Last update: 2024-10-16 08:13:40 UTC
README
This is the project creation repository of Thelia. If you want to contribute, please take a look at thelia/thelia
Thelia
Thelia is an open source tool for creating e-business websites and managing online content. This software is published under LGPL.
This is the new major version of Thelia.
You can download this version and have a try or take a look at the source code (or anything you wish, respecting LGPL). See http://thelia.net/ web site for more information.
A repository containing all thelia modules is available at this address : https://github.com/thelia-modules
Compatibility
Requirements
- PHP
- Required extensions :
- PDO_Mysql
- openssl
- intl
- gd
- curl
- dom
- safe_mode off
- memory_limit at least 128M, preferably 256.
- post_max_size 20M
- upload_max_filesize 2M
- date.timezone must be defined
- Required extensions :
- Web Server Apache 2 or Nginx
- MySQL 5 or 8
Create a Thelia project
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar create-project thelia/thelia-project path/ 2.5.0 (or 2.4.5)
Install it with your own environment
You can install Thelia using the cli tool and the scripts provided by thelia/setup
$ php Thelia thelia:install
Consult the page : http://localhost/thelia/web
You can create a virtual host and choose web folder for root directory.
Quick install with docker-compose
This repo contains all the configuration needed to run Thelia with docker and docker-compose.
Warning, this docker configuration is not ready for production.
It requires obviously docker and docker-compose
To install Thelia within Docker, run :
./start-docker.sh
It will ask you for a template name (usually your project name) if you don't have a .env file but you can create the .env by yourself, take a look at .env.docker to make your own.
If your folder template does not exist it will copy the "modern" template.
Next just go to http://localhost:8080 and you should see your Thelia installed !
And run the same command everytime you want launch your Thelia.
If you want add some sample data just add the option -demo
./start-docker.sh -demo
If you want to access your database from your computer (with DBeaver, Sequel Pro or anything else) by default the host is localhost
and the port is 8086
Documentation
Thelia documentation is available at http://doc.thelia.net
Contribute
See the documentation : http://doc.thelia.net/en/documentation/contribute.html
Mac OSX
If you use Mac OSX, it still doesn't use php 5.4 as default php version... There are many solutions for you :
- use phpbrew
- use last MAMP version and put the php bin directory in your path:
export PATH=/Applications/MAMP/bin/php/php5.5.x/bin/:$PATH
- configure a complete development environment : http://php-osx.liip.ch/
- use a virtual machine with vagrant and puppet : https://puphpet.com/
MySQL 5.6
As of MySQL 5.6, default configuration sets the sql_mode value to
STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION
This 'STRICT_TRANS_TABLES' configuration results in SQL errors when no default value is defined on NOT NULL columns and the value is empty or invalid.
You can edit this default config in /etc/my.cnf
and change the sql_mode to remove the STRICT_TRANS_TABLES part
[mysqld]
sql_mode=NO_ENGINE_SUBSTITUTION
Assuming your sql_mode is the default one, you can change the value directly on the run by running the following SQL Command
SET @@GLOBAL.sql_mode='NO_ENGINE_SUBSTITUTION', @@SESSION.sql_mode='NO_ENGINE_SUBSTITUTION'
For more information on sql_mode you can consult the MySQL doc
Archive builders
Thelia's archive builder's needs external libraries. For zip archives, you need PECL zip. See PHP Doc
For tar archives, you need PECL phar. Moreover, you need to deactivate php.ini option "phar.readonly":
phar.readonly = Off
For tar.bz2 archives, you need tar's dependencies and the extension "bzip2". See PHP Doc
For tar.gz archives, you need tar's dependencies and the extension "zlib". See PHP Doc