Installation of Ragnos
This guide describes how to install Ragnos Framework from a distributed ZIP file.
Server Requirements
Ragnos is based on CodeIgniter 4, so it shares its minimum requirements:
- PHP: Version 7.4 or higher (PHP 8.1+ recommended).
- PHP Extensions:
- intl
- mbstring
- json
- mysqlnd (if using MySQL/MariaDB)
- curl
- gd (optional, for image manipulation)
- Database: MySQL (5.1+) or MariaDB.
Installation Steps
1. Download and Extraction
- Download the
.zipfile with the latest version of Ragnos. - Extract the content into your web server directory (e.g.,
c:\laragon\www\my-projector/var/www/html/my-project). - Verify that the
vendorfolder exists and contains dependencies. Ragnos already includes all necessary libraries.
2. Environment Configuration
- Locate the
envfile in the project root. - Rename or copy it to
.env. - Open the
.envfile and adjust the following variables:
Watch the dot
Make sure the file is named exactly .env (with the dot at the beginning) and not just env.
Environment:
Base URL:
Database: Uncomment and configure your database credentials:
database.default.hostname = localhost
database.default.database = your_db_name
database.default.username = your_user
database.default.password = your_password
database.default.DBDriver = MySQLi
3. Import Database
Ragnos requires certain base tables to function (users, sessions, permissions).
- Create an empty database in your manager (phpMyAdmin, HeidiSQL, etc.).
- Import the SQL files located in the
sampledatabase/folder: - Run
ragnos_mariadb.sqlfirst (or the main dump containing the base structure). - Run
ci_sessions.sqlfor the sessions table. - (Optional) Run
mysqlsampledatabase.sqlif you want to load the Classicmodels sample data. See Demo Database for more details.
4. Verify Permissions
Ensure that the writable/ folder and its subfolders have write permissions by the web server.
5. Run
Access your browser at the configured URL (e.g., http://localhost/my-project/content or simply http://my-project.test if using Laragon).
Public folder change
In the source code, the public folder has been renamed to content. However, it is fine to rename it to whatever suits your server best.
You should see the login screen.
6. Access and Demo Data
To obtain default access credentials and learn more about the included sample data (Classicmodels), please refer to the Demo Database section.