Skip to content

Anteikul/CMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple CMS

A lightweight AI-assisted content management system built with PHP, MariaDB, Apache, W3.CSS, and TinyMCE.

PHP 8.1+ MariaDB Apache TinyMCE W3.CSS Languages

Summary

Features

  • Responsive magazine-style homepage with light/dark theme support.
  • Article categories, category filtering, featured posts, reading-time estimates, search and sorting.
  • Role-based publishing: administrators manage everything, editors manage their own articles, readers can interact.
  • Comments and one-vote-per-user like/dislike reactions.
  • Multilingual UI: English, Czech and Chinese.

Installation

  1. Clone the repository into the web directory:
mkdir /var/www
cd /var/www
git clone https://github.com/Anteikul/CMS.git
cd /var/www/cms
  1. Make the bootstrap script executable:
chmod +x bootstrap.sh
  1. Run the bootstrap script with root privileges (change variables if needed):
./bootstrap.sh
  1. Open the CMS in your browser:
http://SERVER_IP/

Optional pages:

http://SERVER_IP/install.php
http://SERVER_IP/adminer

Demo Accounts

Administrator

  • E-mail: admin@example.com
  • Password: admin123

Editor

  • E-mail: editor@example.com
  • Password: editor123

Reader

  • E-mail: reader@example.com
  • Password: reader123

Project Structure

cms/
├── bootstrap.sh
├── config/
│   └── config.sample.php
├── public/
│   ├── index.php
│   ├── install.php
│   ├── article.php
│   ├── article_form.php
│   ├── delete_article.php
│   ├── login.php
│   ├── logout.php
│   ├── rate_article.php
│   ├── register.php
│   ├── upload_image.php
│   ├── users.php
│   ├── user_form.php
│   ├── update_user_role.php
│   ├── delete_user.php
│   └── assets/
│       ├── css/
│       │   └── app.css
│       ├── js/
│       │   └── theme.js
│       ├── uploads/
│       └── tinymce/
├── src/
│   ├── articles.php
│   ├── auth.php
│   ├── db.php
│   ├── installer.php
│   ├── schema.php
│   └── users.php
├── storage/
│   ├── install.lock.example
│   └── logs/
├── .gitignore
├── README.md
└── LICENSE

License

See the LICENSE file.

CMS

About

Simple CMS showcase

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors