A flat file markdown blog system based on the Charm framework.
Blog posts are stored at data/blog/posts.
Their thumbnails are stored at data/blog/thumbnails and all other assets at data/blog/assets/$slug,
where $slug should be the slug of your blog post. But you can also store them directly in the assets dir.
Welcome to the markcoon1 built upon the powerful Charm framework! Setting up the project is a breeze, and you'll be up and running in no time. Just follow these simple steps, and you'll be coding with the Force on your side. 🚀
- Clone the repository: Clone the markcoon1's repo to a new folder on your local machine.
git clone https://github.com/youruser/markcoon1.git /path/to/markcoon1 cd /path/to/markcoon1 - Install dependencies: Run
composer installto fetch all required dependencies.composer install
- Create necessary directories: Ensure the var/cache, var/logs, and data directories are in place.
mkdir var/cache var/logs data
- Set permissions: If your web server runs as a different user, grant read, write, and execute permissions to the directories.
chmod -R 0777 var/cache var/logs data
- Create local environment: Execute bob c:env Local, and the trusty assistant will create a local environment for you.
bob c:env Local
- Depending on your project's setup you should now run any initial commands, like for migrating the database:
bob db:sync
- Install additionally needed packages depending on your project, like
npm installfor your node assets - Configure web server: Update your Apache or Nginx configuration to handle rewrites to the
index.phpfile. For apache2 you can find a.htaccessand for nginx anginx.conffile in this repository. - Open the new project in your browser or run a development server with
bob serve.
For more information on setting up a charm project, see the Charm Installation Guide.
You can learn more about the Bob CLI tool in the Bob Documentation.
This project is licensed under the Mozilla Public License 2.0 (MPL 2.0) - see the LICENSE.md file for details. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0.
Copyright (c) 2024 Neoground GmbH