Setup Codeigniter 4.4
Just few more steps to setup Qovex Codeigniter in your system.
Introduction
Qovex – Codeigniter is a simple and beautiful admin template built with Bootstrap ^5.3.3 and Codeigniter 4.4. It has 7+ different layouts and 3 modes ( Dark, Light & RTL ). You can simply change to any layouts or modes by changing a couple of lines code. You can start small and large projects or update design in your existing project using Qovex Codeigniter. It is very quick and easy as it is beautiful, adroit, and delivers the ultimate user experience.
Server Requirements
Please check the Server Requirements from the below link.
https://codeigniter.com/user_guide/intro/requirements.html
Installation
To setup the admin template, follow the below-mentioned steps :
After you finished with the above steps, you can run the following commands into the terminal/command prompt from the root directory of the project to run the project locally or build for production use :
Command | Description |
---|---|
composer install
|
command to install all of the framework's dependencies. |
Please fill your DB credentials in the .env
file.
database.default.hostname = localhost
database.default.database = Qovex-ci database.default.username = root database.default.password = database.default.DBDriver = MySQLi |
|
php spark migrate
|
This will migrate the database tables. For more details visit https://codeigniter.com/user_guide/dbmgmt/migration.html?highlight=migrate |
php spark serve
|
The development server is accessible at
http://localhost:8080. To run on other port just run command : php spark serve --port=8081 |
General Routes
You can follow the official doc https://codeigniter.com/user_guide/incoming/routing.html#setting-your-own-routing-rulesYou can add new routes in the file:
app/Config/Routes.php
i.e.
$routes-><method>('<redirect-link>',
'<controller-name>::<controller-method>');