HCSF - A multilingual CMS and Shopsystem Copyright (C) 2014-2015 Marcus Haase - mail@marcus.haase.name
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Requirements:
- Apache 2.x with mod_rewrite enabled, runs with mod_php and also php5-fpm/fastcgi. I'm pretty sure, it will run on other platforms as well.
- PHP 5.4.x and up with filter extension and curl enabled
Dependencies (will be installed with composer):
- TWIG 1.16.2 and up, see: http://twig.sensiolabs.org/ (install via composer)
- PHPMailer 5.2.9 and up, see: https://github.com/PHPMailer/PHPMailer (install via composer)
- Symfony YAML Component (installed via composer)
- Haase IT Toolbox (installed via composer)
In the setup directory you will find scripts for setting up the database.
In the app/config directory you will find example config files. Save a copy of each and remove the dist in the filename like this: config.core.dist.yml -> config.core.yml
Put the required libraries into their configured paths. Run the db-scripts.sql on your configured database to init the database.
For production use turn of display_errors at the beginning of app/init.php
The following directories must be writable by the webserver:
- hcsflogs (log directory)
- cache at http://www.yourhost.tld/_admin/ you will find an info if these directories exist and are writable
Set your encrypted admin password in config.scrts.yml, first though set your blowfish salt. You will find a tool to encrypt it at /_admin/index.html - As long as there are no users set in config.scrts.yml, you can access this page (but not the other pages in the admin area) without authenticating.
Add your custom views (templates) to /customviews (get default views at /src/views)