Skip to content

Installation

Henen The Programmer edited this page Feb 9, 2024 · 3 revisions

Installation Guide

Welcome to the installation guide for H-Blog-Manager-Script. Follow the steps below to set up the application on your server.

System Requirements

Before you begin, ensure that your server meets the following requirements:

  • PHP 8 and above.
  • MySQL Database (compatible version required).

Clone the Repository

Clone the H-Blog-Manager-Script repository to your server:

git clone https://github.com/HenenTheProgrammer/H-Blog-Manager-Script.git

Set Up the Database

  1. Import MySQL database schema in phpmyadmin or Execute the MySQL database schema using the provided SQL file:

    mysql -u your_database_user -p your_database_name < sql/Database.sql

    Replace your_database_user and your_database_name with your MySQL username and the desired database name.

  2. Configure the database connection in the index.php file:

    $database = new Database\Connection('database_host', 'your_database_user', 'your_database_password', 'your_database_name');

    Replace database_host, your_database_user, your_database_password, and your_database_name with your database details.

Set Up Encryption Key

Set a strong encryption key in the index.php file:

$GLOBALS['encryption_key'] = 'your_strong_key';

Replace 'your_strong_key' with a long, random, and complex string.

Set Up No-Reply Email Address

Set the no-reply email address for sending emails in the index.php file:

$GLOBALS['webmaster'] = 'webmaster@email.com';

Replace 'webmaster@email.com' with the desired no-reply email address.

Access the Application

Navigate to the root folder of your application and start your PHP development server:

php -S localhost:8000

Visit http://localhost:8000 in your web browser to access the H-Blog-Manager-Script application.

Default Admin Login

  • Email: admin@webmaster.com
  • Password: password

Upon initial login, change the default password for security reasons.

Congratulations! You have successfully installed H-Blog-Manager-Script. Explore the admin dashboard and customize your templates for a personalized blogging experience.

For more detailed information on customizing templates, refer to the Template Creation Guidelines.

If you encounter any issues or have questions, feel free to reach out on GitHub Discussions or contact Henen The Programmer via contact details.

Thank you for using H-Blog-Manager-Script!

Clone this wiki locally