A lightweight AI-assisted content management system built with PHP, MariaDB, Apache, W3.CSS, and TinyMCE.
- See Installation for server setup and bootstrap commands.
- See Demo Accounts for default testing credentials.
- See Project Structure for an overview of folders and files.
- See License for licensing information.
- 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.
- 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
- Make the bootstrap script executable:
chmod +x bootstrap.sh- Run the bootstrap script with root privileges (change variables if needed):
./bootstrap.sh- Open the CMS in your browser:
http://SERVER_IP/
Optional pages:
http://SERVER_IP/install.php
http://SERVER_IP/adminer
- E-mail:
admin@example.com - Password:
admin123
- E-mail:
editor@example.com - Password:
editor123
- E-mail:
reader@example.com - Password:
reader123
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
See the LICENSE file.