diff --git a/Installation.md b/Installation.md index b5f3597..2411ce5 100644 --- a/Installation.md +++ b/Installation.md @@ -1,6 +1,6 @@ -# 7-Zip +## 7-Zip -## Windows +### Windows First install 7z from https://www.7-zip.org/ or with command line: ``` @@ -14,19 +14,19 @@ setx path "%path%;C:\Program Files\7-Zip" ``` Be sure to close and re-open KCC so it sees the updated PATH. -## Mac +### Mac with [Homebrew](https://brew.sh/) installed ``` $ brew install p7zip ``` -# Kindlegen +## Kindlegen -## Windows +### Windows Move `kindlegen.exe` from Kindle Previewer into the same folder as KCC. -## Mac +### Mac And to fix the KindleGen missing warning, with [Homebrew](https://brew.sh/) installed: ```bash @@ -38,7 +38,7 @@ or brew install --cask kindle-comic-creator ``` -### DOWNLOADS +## DOWNLOADS You can find the latest binary at the following link: - **https://github.com/ciromattia/kcc/releases** @@ -123,13 +123,15 @@ $ docker run --entrypoint /opt/kcc/kcc-c2p.py --rm -v "$(pwd):/app" ghcr.io/ciro ### INSTALL FROM SOURCES -Easiest to use [GitHub Desktop](https://desktop.github.com) to clone the KCC repo. From GitHub Desktop, open a Command Prompt/Terminal Window in the repo. +Easiest to use [GitHub Desktop](https://desktop.github.com) to clone the KCC repo. From GitHub Desktop, open a Command Prompt (Windows)/Terminal (Mac) window in the repo. -We recommend using [virtual environments](https://docs.python.org/3/tutorial/venv.html) to manage dependencies. A code editor like [VS Code](https://code.visualstudio.com) will automatically activate virtual environments. +Depending on your system [Python](https://www.python.org) may be called either `python` or `python3`. + +We recommend using [virtual environments](https://docs.python.org/3/tutorial/venv.html) to manage dependencies. (Optional: A code editor like [VS Code](https://code.visualstudio.com) will automatically re-activate virtual environments.) #### Windows -One time setup: Setup a virtual environment and run: +One time setup and running for the first time: ``` python -m venv venv venv\Scripts\activate.bat @@ -146,7 +148,7 @@ python kcc.py #### Mac -One time setup: Setup a virtual environment and run: +One time setup and running for the first time: ``` python3 -m venv venv source venv/bin/activate