Installation and quick start

Update at 2017-12-22 09:05:25


System requirements

Your web server must be running PHP 5.3 or higher, and Mysql 5 or higher. Below are a list of items you should ensure your host can comply with.

  • PHP 5.4+
  • MYSQLi 5.1+
  • Mcrypt Extension
  • MBString Extension
  • MYSQLi Extension
  • CURL Extension (recommended)

Installation

CI Base is installed in 3 steps bellow:

1. Unzip the package

Unzip the package, you will get the following folders and files

Upload all to your root project

E.g with xampp

With xampp, you create new folder named cibase in your htdocs folder and move all to there

2. Import database

Create a new database and import data from the /database/database.sql file

E.g with xampp

With xampp, you go to phpmyadmin at localhost/phpmyadmin, create new database named cibase and import data from the /database/database.sql file

3. Config at env.php

Open /env.php file and edit your config infomation

The configuration information here is expressed as a constant

# Name Description
1 APPLICATION_ENVIRONMENT Application environment
2 APPLICATION_KEY The secret key of the application, used in the cryptographic library
3 APPLICATION_NAME Your application name
4 ADMIN_URL The url to the admin page, here is the important configuration information you need to keep in mind
5 CATALOG_URL The url to the catalog page, which is important configuration information
5 DB_DRIVER The type of database you use. The default is mysqli, if you do not understand please do not change this parameter
6 DB_HOST Database host
7 DB_USERNAME Database username
8 DB_PASSWORD Database password
9 DB_DATABASE Database name

Successful

After that, you can login to admin with information

E.g with xampp

With xampp you go to localhost/cibase/admin.php to login with account infomation above