Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.51 KB

README.md

File metadata and controls

52 lines (39 loc) · 1.51 KB

CodeIgniter App

Integrate RESTfull API, Base Model, Ion Auth module and template module.

Features

Setup

add new virtual hostname on hosts file (/etc/hosts)

127.0.0.1 ci.localhost

Apache: create .htaccess.

RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|assets|robots\.txt|$)
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

Nginx: please add the following to virtualhost config.

location / {
  try_files $uri $uri/ /index.php;
}

Import the SQL structure

$ mysql -u root -p app < sql/app.sql