An open-source, user-friendly, and dynamic blog system.
- Dynamic content management: Easily manage blog posts and categories.
- Markdown support: Simple formatting for your posts.
- View counter: Track the number of views for each post.
- Modern and mobile-responsive design: Built with Bootstrap 5.
- GitHub-style interface: Clean and professional look.
- Visitor counter styled like GitHub contributions.
- Plug-and-play usage: Simple to set up and use.
To set up this project in your environment, follow these steps:
-
Clone the Repository:
git clone https://github.com/username/mdns-blog.git cd mdns-blog
-
Set Up the Database:
- Create a database.
- Import the
blog.sql
file included with the project using this command:
mysql -u your_username -p blogdns < blogdns.sql
-
Configure the Database Connection:
Open the
includes/db.php
file and update the following lines:$host = 'localhost'; $dbname = 'blogdns'; $username = 'your_username'; $password = 'your_password';
-
Configure the Web Server:
Set the project as the root directory of your local server and run it.
This system is simple and minimal. If you encounter any issues, please don't hesitate to ask. You're awesome!
Below are some screenshots of the project:
We welcome contributions to enhance the project! Follow these steps to contribute:
- Fork this repository.
- Create a new branch:
git checkout -b feature/your-feature
- Make your changes and commit:
git commit -m "Add your feature"
- Submit a pull request:
git push origin feature/your-feature
This project is licensed under the MIT License. For more details, refer to the LICENSE
file.
© 2024 M-DNS Blog. All rights reserved.