This project is read-only.

How to install CICI?

Just enough with copy CICI.exe on "Windows" directory in Windows System, ( i.e "C:\Windows" ).  After copy CICI.exe, open CMD and enter to your directory CI via CMD ( i.e "cd C:\xampp\htdocs\ci" ), and call CICI with command "cici" ( enter ).


Download MySql Connector version 6.5.4 for .Net Framework ( Dot NET Framework ) if you want use 'MVC' generator on CICI, Link Download : http://dev.mysql.com/downloads/connector/net/ ( Mirror : http://www.mediafire.com/?oaocf4g7kpa2mfg ) and Download Installer File ( .msi or .exe )  


For MVC Generator currently only supports MySql Database only, and using port  MySql 3306


CICI Help & Example

"cici version 0.0.5 beta
*cici help

*generate controller :
cici create controller controller_name1;folder_name.controller_name2;

*generate action :
cici create action controller_name1=action_name1;controller_name1=action_name2;folder_name.controller_name2=action_name1;

*generate model :
cici create model model_name1;folder_name.model_name2;

*generate model crud :
cici create modelcrud model_crud_name1;folder_name.model_crud_name2;

Don't forget set your configurations database on file 'database.php' in your CI configurations
*generate MVC or Model, View and Controller from database :
cici create mvc table_name1;table_name2;

*generate MVC or Model, View and Controller from database and all table :
cici create mvc 000;

*generate view :
cici create view view_name1;folder_name.view_name2;

*configure config :
cici configure config base_url="http://localhost/ci";index_page="index.php";

*configure autoload :
cici configure autoload model="my_folder_model/mymodel1";model="mymodel2";language="lang1";

*configure routes :
cici configure routes default_controller="welcome/index";404_override="my_404";

*configure database :
cici configure database hostname="localhost";username="root";password="password";


CICI v.0.0.5 Command Line
Command Option Value
create controller folder_name.controller_name;
  model folder_name.model_name;
  modelcrud folder_name.model_crud_name;
  view folder_name.view_name;
  action folder_name.controller_name="action_name";
  mvc table_name;
  mvc 000;
 configure config key_config="value_config";
  autoload key_autoload="value_autoload";
  routes routes_autoload="routes_autoload";
  database $db['default'][key_database] = "value_database";

 Download MySql Connector for .Net Framework ( Dot NET Framework ) if you want use 'MVC' generator on CICI, Link Download : http://dev.mysql.com/downloads/connector/net/ and Download Installer File ( .msi or .exe )


For MVC Generator currently only supports MySql Database only , and using port  MySql 3306


Sample Table for CICI MVC

Table Name : user

Fields : iduser ( Primary Key ), username, password, email

Last edited Jan 4, 2013 at 4:54 PM by semarketir, version 28

Comments

No comments yet.