Panel-less CMS is a simple blog application built with Laravel. It allows for publishing blog articles by writing markdown files in GitHub markdown syntax, without the need for user logins or an admin panel.
- Simple and lightweight blog system.
- No user logins or admin panel required.
- Blog articles are written in GitHub markdown syntax.
- Easy to deploy and maintain.
-
Clone the repository:
git clone [email protected]:zach2825/paneless-cms.git
-
Navigate to the project directory:
cd paneless-cms
-
Install dependencies:
composer install yarn install
-
Set up your environment variables:
Copy the
.env.example
file to a new file named.env
and configure your environment variables, including your database connection. -
Generate an application key:
php artisan key:generate
-
Run migrations:
php artisan migrate
-
Start the development server:
php artisan serve
Your blog is now accessible at
http://localhost:8000
.
To publish a new blog article, create a markdown file in the resources[content](content)/posts
directory
(you may need to create this directory if it doesn't exist).
The filename should follow the format YYYY-MM-DD-your-article-title.md
.
Example:
content/posts/2024-04-03-my-first-blog-post.md
But you can use the command
php artisan orbit:generate
Contributions are welcome! Please feel free to submit a pull request or create an issue if you have any suggestions or improvements.