punchcard-cms
Node-based content management system
Last updated 2 years ago by snugug .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install punchcard-cms 
SYNC missed versions from official npm registry.

Punchcard CMS Build Status Coverage Status Code Climate

Deploy

Headless Content Management System designed with content strategy at its heart. Built with Node.

Install and Usage

npm i punchcard-cms --save
const punchcard = require('punchcard-cms');

punchcard().then(app => {
  app.listen(8080);
})

Setting File Storage

Punchcard uses any Vinyl Adapter that your heart desires. A good first place to start is searching for vinyl on NPM. Punchcard assumes all vinyl adapters are named vinyl-adapter.

Developing Locally

Make sure PostgresSQL is set up locally (see below)

Install all the things

npm install

Run the following to run both the database and get the server running:

$ npm run dev

debug mode

Uses node's built in inspector. This works in chrome only.

$ npm run dev:database

then in a separate window:

$ npm run debug

There will be instructions and a link to paste into chrome shown in the terminal after this debug command is run.

Setting up PostgreSQL locally

  1. Make sure you have homebrew installed: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  2. brew update

  3. brew install postgres

  4. start the postgres server: postgres -D /usr/local/var/postgres

  5. open new terminal tab

  6. create a postgres user (it'll prompt for a password use W@ts0n): createuser punchcard -P

  7. Create local CMS database: createdb -O punchcard punchcard

  8. Create local test database: createdb -O punchcard punchcard_test

  9. reconnect to psql as new user: psql -d punchcard -U punchcard

  10. connect to db: \connect punchcard

Once you are connected you should be able to use psql cli syntax to check tables.

  • \d+ checks table relations
  • \l lists all available databases
  • select * from "database_name"; Displays all rows in database, replacing database_name with the table you want to see.
  • list all tables for user punchcard: \c punchcard \dt

Changelog

See the latest release for the most recent changelog

Current Tags

  • 2.42.23                                ...           latest (2 years ago)

154 Versions

  • 2.42.23                                ...           2 years ago
  • 2.42.22                                ...           2 years ago
  • 2.42.21                                ...           2 years ago
  • 2.42.20                                ...           2 years ago
  • 2.42.19                                ...           2 years ago
  • 2.42.18                                ...           2 years ago
  • 2.42.17                                ...           2 years ago
  • 2.42.16                                ...           2 years ago
  • 2.42.15                                ...           2 years ago
  • 2.42.14                                ...           2 years ago
  • 2.42.13                                ...           2 years ago
  • 2.42.12                                ...           2 years ago
  • 2.42.11                                ...           2 years ago
  • 2.42.10                                ...           2 years ago
  • 2.42.9                                ...           2 years ago
  • 2.42.8                                ...           2 years ago
  • 2.42.7                                ...           2 years ago
  • 2.42.6                                ...           2 years ago
  • 2.42.5                                ...           2 years ago
  • 2.42.4                                ...           2 years ago
  • 2.42.3                                ...           2 years ago
  • 2.42.2                                ...           2 years ago
  • 2.42.1                                ...           2 years ago
  • 2.42.0                                ...           3 years ago
  • 2.41.0                                ...           3 years ago
  • 2.40.0                                ...           3 years ago
  • 2.39.1                                ...           3 years ago
  • 2.39.0                                ...           3 years ago
  • 2.38.3                                ...           3 years ago
  • 2.38.2                                ...           3 years ago
  • 2.38.1                                ...           3 years ago
  • 2.38.0                                ...           3 years ago
  • 2.37.0                                ...           3 years ago
  • 2.36.3                                ...           3 years ago
  • 2.36.2                                ...           3 years ago
  • 2.36.1                                ...           3 years ago
  • 2.36.0                                ...           3 years ago
  • 2.35.0                                ...           3 years ago
  • 2.34.0                                ...           3 years ago
  • 2.33.0                                ...           3 years ago
  • 2.32.0                                ...           3 years ago
  • 2.31.0                                ...           3 years ago
  • 2.30.2                                ...           3 years ago
  • 2.30.1                                ...           3 years ago
  • 2.30.0                                ...           3 years ago
  • 2.29.0                                ...           3 years ago
  • 2.28.0                                ...           3 years ago
  • 2.27.0                                ...           3 years ago
  • 2.26.0                                ...           3 years ago
  • 2.25.0                                ...           3 years ago
  • 2.24.1                                ...           3 years ago
  • 2.24.0                                ...           3 years ago
  • 2.23.6                                ...           3 years ago
  • 2.23.5                                ...           3 years ago
  • 2.23.4                                ...           3 years ago
  • 2.23.3                                ...           3 years ago
  • 2.23.2                                ...           3 years ago
  • 2.23.1                                ...           3 years ago
  • 2.23.0                                ...           3 years ago
  • 2.22.5                                ...           3 years ago
  • 2.22.4                                ...           3 years ago
  • 2.22.3                                ...           3 years ago
  • 2.22.2                                ...           3 years ago
  • 2.22.1                                ...           3 years ago
  • 2.22.0                                ...           3 years ago
  • 2.21.0                                ...           3 years ago
  • 2.20.0                                ...           3 years ago
  • 2.19.1                                ...           3 years ago
  • 2.19.0                                ...           3 years ago
  • 2.18.2                                ...           3 years ago
  • 2.18.1                                ...           3 years ago
  • 2.18.0                                ...           3 years ago
  • 2.17.0                                ...           3 years ago
  • 2.16.0                                ...           3 years ago
  • 2.15.1                                ...           3 years ago
  • 2.15.0                                ...           3 years ago
  • 2.14.1                                ...           3 years ago
  • 2.14.0                                ...           3 years ago
  • 2.13.0                                ...           3 years ago
  • 2.12.9                                ...           3 years ago
  • 2.12.8                                ...           3 years ago
  • 2.12.7                                ...           3 years ago
  • 2.12.6                                ...           3 years ago
  • 2.12.5                                ...           3 years ago
  • 2.12.4                                ...           3 years ago
  • 2.12.3                                ...           3 years ago
  • 2.12.2                                ...           3 years ago
  • 2.12.1                                ...           3 years ago
  • 2.12.0                                ...           3 years ago
  • 2.11.1                                ...           3 years ago
  • 2.11.0                                ...           3 years ago
  • 2.10.0                                ...           3 years ago
  • 2.9.0                                ...           3 years ago
  • 2.8.0                                ...           3 years ago
  • 2.7.2-0                                ...           3 years ago
  • 2.7.1                                ...           3 years ago
  • 2.7.0                                ...           3 years ago
  • 2.6.0                                ...           3 years ago
  • 2.5.1                                ...           3 years ago
  • 2.5.0                                ...           3 years ago
  • 2.4.0                                ...           3 years ago
  • 2.3.1-0                                ...           3 years ago
  • 2.3.0                                ...           3 years ago
  • 2.2.0                                ...           3 years ago
  • 2.1.1                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.5.3                                ...           3 years ago
  • 1.5.2                                ...           3 years ago
  • 1.5.1                                ...           3 years ago
  • 1.5.0                                ...           3 years ago
  • 1.4.1                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.16.1                                ...           3 years ago
  • 0.16.0                                ...           3 years ago
  • 0.15.0                                ...           3 years ago
  • 0.14.2                                ...           3 years ago
  • 0.14.1                                ...           3 years ago
  • 0.14.0                                ...           3 years ago
  • 0.13.1                                ...           3 years ago
  • 0.13.0                                ...           3 years ago
  • 0.12.0                                ...           3 years ago
  • 0.11.0                                ...           3 years ago
  • 0.10.4                                ...           3 years ago
  • 0.10.3                                ...           3 years ago
  • 0.10.2                                ...           3 years ago
  • 0.10.1                                ...           3 years ago
  • 0.10.0                                ...           3 years ago
  • 0.9.0                                ...           3 years ago
  • 0.8.3                                ...           3 years ago
  • 0.8.2                                ...           3 years ago
  • 0.8.1                                ...           3 years ago
  • 0.8.0                                ...           3 years ago
  • 0.7.0                                ...           3 years ago
  • 0.6.0                                ...           3 years ago
  • 0.5.0                                ...           3 years ago
  • 0.4.0                                ...           3 years ago
  • 0.3.0                                ...           3 years ago
  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.4                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
  • 0.1.0-alpha.5                                ...           3 years ago
  • 0.1.0-alpha.4                                ...           3 years ago
  • 0.1.0-alpha.3                                ...           3 years ago
  • 0.1.0-alpha.2                                ...           3 years ago
  • 0.1.0-alpha.1                                ...           3 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (52)
Dev Dependencies (22)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |