【文件属性】:
文件名称:punchcard:Punchcard CMS
文件大小:166KB
文件格式:ZIP
更新时间:2021-05-06 09:26:20
cms postgres headless node-cms cms-framework
Punchcard CMS
无头内容管理系统,其设计以内容策略为核心。 使用Node构建。
安装与使用
npm i punchcard-cms --save
const punchcard = require ( 'punchcard-cms' ) ;
punchcard ( ) . then ( app => {
app . listen ( 8080 ) ;
} )
设置文件存储
Punchcard使用您心中想要的任何。 一个很好的起点是搜索。 Punchcard假定所有乙烯基适配器都被命名为vinyl-adapter 。
本地发展
确保PostgresSQL是在本地设置的(请参见下文)
安装所有东西
npm install
运行以下命令以同时运行数据库并使服务器运行:
$ npm run dev
调试模式
使用节点的。 这仅适用于chrome 。
$ npm run