MiniB Documentation

Welcome to the MiniB documentation. This comprehensive guide will help you get started with MiniB and learn how to use all its features effectively.

Quick Start: If you're new to MiniB, start with the Installation Guide below. For experienced users, jump to any section that interests you.

Table of Contents

Installation Guide

System Requirements

  • • PHP 7.4 or higher
  • • Web server (Apache, Nginx, or similar)
  • • File system write permissions
  • • Modern web browser

Step 1: Download MiniB

Download the latest version of MiniB from the official repository.

# Download and extract to your web server directory
wget https://github.com/minib-cms/minib/archive/main.zip
unzip main.zip
mv minib-main /var/www/html/minib

Step 2: Set Permissions

Ensure proper file permissions for MiniB to function correctly.

# Set directory permissions
chmod 755 /var/www/html/minib
chmod 777 /var/www/html/minib/assets/theme-images
chmod 666 /var/www/html/minib/metadata.json

Step 3: Access Your Blog

Open your web browser and navigate to your MiniB installation.

URL: http://your-domain.com/minib/
Default Admin: Username: admin, Password: password123

Initial Configuration

Security First: Change the default admin password immediately after installation!

Admin Security

  1. 1. Log in with default credentials
  2. 2. Go to Admin Dashboard
  3. 3. Change admin password
  4. 4. Update site settings

Basic Settings

  • • Site name and description
  • • Logo and favicon
  • • Color scheme
  • • Social media links

Creating Your First Post

Post Creation Process

1. New Post

Click "New Post" button

2. Write Content

Use the rich text editor

3. Save & Publish

Save your post

Post Elements

Required Fields

  • Title: Post headline
  • Slug: URL-friendly version
  • Content: Main post content
  • Tags: Categories (optional)

Optional Features

  • Thumbnail: Featured image
  • Code Blocks: Syntax highlighting
  • Images: Inline images
  • Links: External references

Managing Posts

Post Management Dashboard

Access the admin dashboard to manage all your posts. You can edit, delete, and organize your content.

Available Actions:

  • Edit post content
  • Delete posts
  • Preview posts
  • Manage tags
  • Update thumbnails
  • Search posts

Working with Images

Image Upload

  • • Drag and drop images
  • • Automatic optimization
  • • Multiple format support
  • • Alt text for accessibility

Image Management

  • • Organize by post
  • • Thumbnail selection
  • • Responsive sizing
  • • Storage optimization

Adding Code Blocks

Code Block Features

MiniB supports syntax highlighting for multiple programming languages. Use the code insertion tool to add formatted code blocks.

Supported Languages

  • • HTML
  • • CSS
  • • JavaScript
  • • PHP
  • • Python
  • • SQL

Code Block Types

  • • Regular code blocks
  • • Executable code
  • • Embedded content
  • • Inline code

Theme Customization

Theme Manager

Access the Theme Manager from the admin dashboard to customize your blog's appearance.

Colors

Customize primary, secondary, and accent colors

Branding

Upload logo and favicon

Layout

Adjust spacing and typography

SEO Optimization

SEO Best Practices

Content Optimization

  • • Use descriptive titles
  • • Include relevant tags
  • • Write quality content
  • • Use proper headings

Technical SEO

  • • Fast loading times
  • • Mobile-friendly design
  • • Clean URL structure
  • • Meta descriptions

Performance Tips

Optimization Tips

  • • Optimize images before upload
  • • Use appropriate image formats
  • • Keep posts focused and concise
  • • Regular content updates

Server Optimization

  • • Enable GZIP compression
  • • Use browser caching
  • • Optimize PHP settings
  • • Regular backups

Backup & Restore

Backup Strategy

Regular backups are essential for protecting your content and ensuring business continuity.

What to Backup

  • • All PHP files
  • • metadata.json
  • • Post directories
  • • Uploaded images
  • • Theme customizations

Backup Frequency

  • • Daily: Content changes
  • • Weekly: Full system
  • • Before updates
  • • Before major changes

Need More Help?

Can't find what you're looking for? Our community is here to help!

Last Updated: January 15, 2024
Version: 1.0.0