Skip to content

2. Installation

Rauli Rajande edited this page Oct 11, 2019 · 1 revision

Needs:

  1. PHP >= 7.1
  2. MySQL compatible database (MariaDB)
  3. Apache compatible webserver or IIS

Using install script:

  1. Have a LAMP web server installed For example XAMPP - https://www.apachefriends.org/

  2. Clone, copy or download whole project to your website subfolder or root folder. XAMPP folder under Windows is c://xampp/htdocs/ , under MacOS /Applications/XAMPP/xamppfiles/htdocs Under Linux the web document root is commonly inside /var/www or /usr/local/httpd

  3. Point your web browser to the localhost and follow the wizard For example http://localhost/ (or http://localhost/myproject/ if you put the code to the subfolder named "myproject")

  4. After wizard, your website will be in your installation folder (eg http://localhost/myproject/ ) CMS admin interface will be in admin/ subfolder (eg http://localhost/myproject/admin/ )

Setup considerations:

Configuration files are in "config" directory:

Config file name has to be "hostname.json" (or "hostname.php" for more flexible settings). If your project is visible in http://www.mysite.com/, rename config file to "www.mysite.com.json"

Base url has to be "folder" in your url, including "/" in the end (if your url is http://localhost/myproject/ or http://www.mysite.com/myproject/, this has to be "/myproject/")

Base path has to be your website location in server filesystem (eg "/var/www/html/www.mysite.com/")

Check .htaccess file and remove redirection to www start when needed.

CMS login is at your website location + "admin/" (eg http://www.mysite.com/admin/)