Skip to content

maspriyambodo/sertifikasiku

Repository files navigation

Instalation


rename folder /application/config.production to config

customize file database.php in config folder with your own.

<?php

defined('BASEPATH') OR exit('No direct script access allowed');
$active_group = 'default';
$query_builder = true;
$db['default'] = ['dsn' => '',
    'hostname' => 'your_host',
    'username' => 'your_username',
    'password' => 'your_password',
    'database' => 'database_name',
    'dbdriver' => 'mysqli',
    'dbprefix' => '',
    'pconnect' => false,
    'db_debug' => false,
    'cache_on' => false,
    'cachedir' => '',
    'char_set' => 'utf8mb4',
    'dbcollat' => 'utf8mb4_general_ci',
    'swap_pre' => '',
    'encrypt' => false,
    'compress' => false,
    'stricton' => false,
    'failover' => [],
    'save_queries' => true
];

rename file index.production to index.php

rename file ./application/libraries/Multi_menu.production to Multi_menu.php

rename file htaccess.production to .htaccess

create directory with name logs in /application/

$ mkdir ./application/logs

give RW access folder logs in application folder

$ chmod 777 ./application/logs/

create directory with name sessions in /application/

$ mkdir ./application/sessions

give RW access folder sessions in application folder

$ chmod 777 ./application/sessions/

Database


follow these steps for import database, database files in folder ./db_template/sql/

  1. sert_database.sql
  2. sert_table_*.sql
  3. sert_view_*.sql
  4. sert_routines.sql
  5. sert_extra.sql

Requirements


  1. php version 7.4 or above
  2. Database (eg: MySQL, PostgreSQL, SQLite)
  3. Web Server (eg: Apache, Nginx, IIS)
  4. php extensions mbstring
  5. php extensions gd
  6. php extensions zlib
  7. php extensions bcmath
  8. php extensions zip

libraries


  1. PHP Curl Class works with PHP 7.0, 7.1, 7.2, 7.3, 7.4, and 8.0
  2. studio-42/elfinder 2.1
  3. pusher/pusher-php-server 7.0
  4. mpdf/mpdf 8.0
  5. amCharts4

contributors