-
Notifications
You must be signed in to change notification settings - Fork 2
Shortcuts For Initialization
Asterios Raptis edited this page Mar 24, 2026
·
4 revisions
This page covers commands for setting up and maintaining your book project structure.
All initialization commands are provided by the manuscripta library.
# Full setup: install dependencies + run initializer
make setup
# Initialize project structure (runs lock-install first)
make init-bp
# Alias
make init-project
# Just install dependencies
make lock-installIf you prefer using Poetry directly:
# Initialize project structure
poetry run init-bp
# With --clean flag to remove excluded items
poetry run init-bp --clean| Makefile Target | Poetry Command | Description |
|---|---|---|
make setup |
poetry lock && poetry install && poetry run init-bp |
Full setup with dependency installation |
make init-bp |
poetry run init-bp |
Initialize book project structure |
make init-project |
poetry run init-bp |
Alias for init-bp |
make lock-install |
poetry lock && poetry install |
Lock and install dependencies |
- Prompts for project name, description, book title, author, year, language
- Creates all directories and files defined in
config/init-settings.yaml - Writes
config/metadata.yamlwith your input - Updates
pyproject.tomlwith project name and description - Creates
config/init-settings.yamlon first run (for future customization) - Logs every action (created / already exists) with a summary
The initializer is idempotent and safe to re-run.
Edit config/init-settings.yaml to control which directories and files are created. See
the Project Initialization page for full documentation on include_directories,
include_files, exclude, and the --clean flag.
- Project Initialization - Full documentation with config examples
- Generate Project Structure - Directory layout overview
- Makefile Overview - All available make targets
- Home
- Project Initialization
- Generate Project Structure
- How to Write a Book
- Developer Workflow & Makefile
- Chapter File Generator
- Generate Images
- Convert Markdown Images
- Bulk Change File Extensions
- Restructure Chapters
- Remove Bold from Markdown Headers
- Converting Markdown Bullets to Typographic Bullets
- Translate Markdown with DeepL
- Translate with LM Studio
- Translation CLI Commands
- Shortcuts for Translation
- Automatic Book Export
- Shortcuts for Export
- Export HTML Chapters (Comics)
- Export to EPUB 2
- Pandoc Batch Processor
- Export HTML Books to PDF (KDP Ready)
**Libraries: ** manuscripta | manuscript-tools