Данные для «Книжной полки фронтендера»
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cms
data
.editorconfig
.eslintrc
.gitignore
.travis.yml
LICENSE.md
README.md
index.js
package.json
yarn.lock

README.md

Build Status

Frontend Bookshelf data

$ yarn # install dependencies

CMS

Here are a few handy CLI programs for managing data:

  • ./cms/list-books.js
  • ./cms/list-tags.js
  • ./cms/add-book.js
  • ./cms/add-tags.js
  • ./cms/remove-books.js
  • ./cms/remove-tags.js

These programs require installed Node.js >= 6.0.0. They are executable, so you don't have to write node ./cms/program-name.js, just type ./cms/program-name.js in your terminal. Note: if you use Windows, you have to specify node before a program path.

To find out more about every program, run it with flag -h or --help, for example:

$ ./cms/list-tags.js --help

  Usage: list-tags [options]

  Lists existing tags

  Options:

    -h, --help     output usage information
    -V, --version  output the version number