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.
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/public or simply http://my-project.test if using Laragon).
You should see the login screen.
6. Access Credentials (Demo)
To access the demo system for the first time, use the following credentials:
- User:
admin - Password:
ok