A complete platform for building web applications.

Installation

  1. Download compressed file:

    wget https://github.com/daif/ertikazos/archive/master.zip -O ertikazos.zip

  2. Uncompress the file:

    unzip ertikazos.zip -d ./

  3. Rename the directory:

    mv ertikazos-master/ ertikazos/

  4. Change to ertikazos directory:

    cd ertikazos

  5. Edit configurations:

    Edit $db['default']

    nano application/config/database.php

    Edit $config['base_url']

    nano application/config/config.php

  6. Migrate the database using creator command:

    php creator migrate

  7. Seed the database using creator command:

    php creator seed

Now you can access to the application using default username admin@ertikazos.dev and 12345678 as password.


Requirements Installation

  • Install Ubuntu server 16.04.x
  • Install Apache 2.4.x
  • Install MySQL 5.7.x
  • Install PHP 7.0.x
  • Install PHPmyAdmin 4.5.x
  • Install Git 2.7.x
  • Install CodeIgniter 3.1.x

Ubuntu

Update all packages to the last version

  1. sudo apt-get update
  2. sudo apt-get upgrade

Apache

  1. Installing Apache and needed modules:

    • sudo apt-get install apache2
    • sudo apt-get install libapache2-mod-fastcgi
    • sudo a2enmod actions alias fastcgi proxy_fcgi rewrite
  2. Edit apache2.conf and set AllowOverride value to All:

    • sudo nano /etc/apache2/apache2.conf
  3. Create site directories:

    • mkdir /home/CURRENT-USER/logs/
    • mkdir /home/CURRENT-USER/www/ertikazos.dev/
  4. Create ertikazos.dev hostname:

    • sudo nano /etc/hosts

      127.0.0.1 ertikazos.dev

  5. Create ertikazos.dev VirtualHost:

    • sudo nano /etc/apache2/sites-available/ertikazos.dev.conf

      <VirtualHost *:80>
          ServerAdmin admin@ertikazos.dev
          ServerName ertikazos.dev
          ServerAlias www.ertikazos.dev
          DocumentRoot /home/CURRENT-USER/www/ertikazos.dev/public
          ErrorLog /home/CURRENT-USER/logs/error.log
          CustomLog /home/CURRENT-USER/logs/access.log combined
      </VirtualHost>
      
  6. Enable ertikazos.dev VirtualHost:

    • sudo a2ensite ertikazos.dev.conf
  7. Restart apache2 to apply changes:

    • sudo service apache2 restart

MySQL

  1. Installing MySQL:

    • apt-get install mysql-server
  2. Create database and user

    • mysql -u root -p
    • create database ertikazos;
    • grant all on ertikazos.* to 'ertikazos_user' identified by '******';

PHP

  1. Installing PHP and needed modules:

    • sudo apt-get install php php-cli php-fpm
    • sudo apt-get install php-mysql php-zip php-curl php-gd php-mcrypt php-imap php-mbstring php-soap php-gettext php-json php-phpseclib
  2. Enable PHP config for apache:

    • sudo a2enconf php7.0-fpm
  3. Set PHP error_log to /home/CURRENT-USER/logs/php-error.log:

    • sudo nano /etc/php/7.0/fpm/php.ini
  4. Restart php7.0-fpm to apply changes:

    • sudo service php7.0-fpm restart

GIT

  1. Installing GIT:

    • sudo apt-get install git

PHPmyAdmin

  1. Installing PHPmyAdmin:

    • sudo apt-get install phpmyadmin

CodeIgniter

Follow CodeIgniter official documentation.

https://codeigniter.com/user_guide/installation/index.html.