定制 sculpin/blog-skeleton 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sculpin/blog-skeleton

最新稳定版本:3.1.0.1

Composer 安装命令:

composer require sculpin/blog-skeleton

包简介

A Skeleton for a Sculpin Based Blog

README 文档

README

A skeleton for a Sculpin based blog.

Powered by Sculpin. =)

Features

A very basic Sculpin based blog supporting the following features:

  • Very minimal Bootstrap based theme.
  • A handful of existing posts in source/_posts/ to get you started. Feel free to remove these when you are ready.
  • An about page at /about.
  • An index page at /. It displays all posts and paginates them.
  • A blog archive page at /blog. It displays post titles broken down by month and is paginated.
  • A blog categories page at /blog/categories.
  • A blog category index at /blog/categories/$category. Similar to the blog archive except broken down by each category.
  • A blog tags page at /blog/tags.
  • A blog tag index at /blog/tags/$tag. Similar to the blog archive except broken down by each tag.

Prerequisites

Sculpin is a PHP application and installed with the PHP package manager composer. See https://getcomposer.org/ for installation instructions.

Unless you do a very basic website, you want some CSS and Javascript assets. Sculpin uses yarn to manage them. See https://yarnpkg.com/en/docs/install for installation instructions.

Install

Create a new project using composer:

$ composer create-project -s dev sculpin/blog-skeleton my-blog

This application uses Symfony's Webpack Encore to manage CSS, JavaScript and image assets. Install the JS dependencies:

$ cd my-blog
$ yarn install

Build

First, start Encore to compile and update the assets in source/assets/ into source/build/. The watcher keeps running until you exit it manually:

$ composer yarn-watch

In a new console, start the sculpin watcher to have your content updated as soon as you save changes:

$ composer sculpin-watch

Your newly generated clone of sculpin-blog-skeleton should now be accessible at http://localhost:8000/.

Documentation

The skeleton provides you with useful configuration and some example data for a Sculpin installation.

For more information about getting started with Sculpin, check out the Get Started page and have a look at the full documentation.

统计信息

  • 总下载量: 2.97k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 81
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 81
  • Watchers: 9
  • Forks: 86
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-03-20