Giter Club home page Giter Club logo

site's Introduction

Site Configuration (CentOS)

Install Git

Install the latest version of Git from source.

Install php

October CMS needs PHP version 7.0 or higher compiled with cURL, PDO, OpenSSL, Mbstring, ZipArchive and GD PHP Library enabled. Don't forget to add appropriate DB library: php-mysql for MySQL, php-pgsql for PostgreSQL, etc. Like that:

yum install php-cli php-fpm php-pdo php-common php-curl php-json php-zip php-gd php-xml php-mbstring php-pgsql

Install Database

  • Install any database server from the list: MySQL, MariaDB, PostgreSQL or SQLite.
  • Create database for October CMS back-end named '<your-db-name>'.
PostgreSQL config

To allow October CMS to log in to your PostgreSQL server find pg_hba.conf file and add following lines to the beginning of table in the end of the file:

local   <your-db-name>      all                                     trust
host    <your-db-name>      all             127.0.0.1/32            trust
host    <your-db-name>      all             ::1/128                 trust

Apache

  • Ensure Apache HTTP server (httpd) is installed.
  • Add directory for your October CMS in its public folder. For example: /var/www/myoctober.
  • Configure Apache's directory root to /var/www/myoctober:
DocumentRoot "/var/www/myoctober"
<Directory "/var/www/myoctober">
    AllowOverride All
    Require all granted
</Directory>

Install October CMS

  • Download October CMS install wizard archive and extract it into /var/www/myoctober.
  • Grant writing permissions (for apache user) on the installation directory and all its subdirectories and files.
  • In your web browser navigate to <server-path>/install.php.
  • Follow the installation instructions.
  • Delete the installation files for security reasons: installation directory install_files/ and installation script install.php.

More help here

Add lsFusion theme

  • In your web browser navigate to <server-path>/backend and log in as admin.
  • Navigate to Settings -> Front-end theme.
  • 'Create new blank theme' with name 'lsfusion'. This will create folder /var/www/myoctober/themes/lsfusion.
  • 'Activate' lsfusion theme.
  • Checkout source files from lsFusion theme GitHub repository into /var/www/myoctober/themes/lsfusion.

Local Configuration on Windows

The easiest way is to install one of Windows distributions that contain Apache, PHP, MySQL and other applications in a single installation file, e.g. XAMPP, WampServer or Web.Developer. WampServer has been successfully tested. Configuration is similar to the described CentOS configuration. Then you can work with source files in the lsfusion theme folder in your editor.

site's People

Contributors

ichavchavadze avatar alexkirkouski avatar flood6068 avatar pavel-miniutka avatar danchanka avatar nomojenkins avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.