-
Notifications
You must be signed in to change notification settings - Fork 1
Installing b ber
Maxwell Simmer edited this page Nov 25, 2019
·
16 revisions
These instructions are for installing b-ber via npm using a CLI. For instructions on how to install b-ber for development, please see Installing b-ber for development.
- Remove any existing b-ber installations.
$ npm rm -g @canopycanopycanopy/b-ber-cli
- Install the latest b-ber packages. For testing out new features, it may be necessary to install
canary
versions. This can be done by specifying the@canary
version on installation (e.g.,@canopycanopycanopy/b-ber-cli@canary
).
$ npm i -g @canopycanopycanopy/b-ber-cli
- Test that
bber
is available in the CLI.
$ bber
- If b-ber is installed correctly, the following will be displayed:
Usage: bber <command> [options]
bber new Start a new project
bber generate Create a new chapter. Accepts arguments for metadata.
bber serve Preview the publication's contents in a browser
bber build Create an EPUB, mobi, PDF, or all file formats
For more information on a command, enter bber <command> --help
bber version x.x.x
- Adding metadata
- Creating content
- Generating new content
- Authoring and editing content
- Reading order (Table of Contents)
- Configuring the build
- Adding a cover image
- All directives
- Text
- Media
- Misc