-
-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
You can either run this project on baremetal or run it in a Docker container. The easiest way is to use the container images provided.
This project consists of 2 containers by default; Chell and MySQL. Take a look at the docker-compose file in the root of this project to get you started.
For the disk widget to work, you will have to specify volumes in the container mounted under /mnt/[mountname]. The disk widget will grab all volumes in /mnt and list them with their [mountname].
Once you run the container, you are able to access the website on the published port. The first time it shows a small wizard like page to complete the setup.
When you've finished the first time setup, you can login and configure the rest of Chell in the setings.
Before continuing, take a look at the prerequisites above. Those are required to run this project.
This project comes with an installer. Before you can use this installer, you will need to have some basic configuration done.
The Phalcon PHP extension is required to run this project. You can read about installing Phalcon here. To have Phalcon work, you will need to add the PSR extension to your php.ini, as described in the Phalcon installation URL.
Take a look at the required Apache modules and PHP extensions, to run this project, and enable those.
Since this project relies on .htaccess files to work correctly, you will also need to have this setup in your Apache configuration accordingly (either only for this project or server wide). You can find how to do so by looking here for example
Make sure the user Apache runs under, has write access to the project's location. It will at least need access to the folder "app/logs" to write error logs to.
When all the above steps are taken, you should be able to run the installer. The installer will setup some basic stuff, such as the database and some default content.
You can run the installer by going to /install on the domain (and if applicable folder, defined by the baseUri).
When you fill all the details in correctly, you can press install and the site should take care of setting things up.
It will try to clean up after itself, but it won't be able to do so if the Apache user doesn't have write access in order to cleanup the following files;
- /app/controllers/InstallController.php
- /app/views/install/
- /sql/db-structure.sql
It's recommended to check if at least the InstallController is deleted after install (/app/controllers/InstallController.php), since it can be potentially harmfull. The other files are cleaned up just for the sake of keeping things clean.