Updated Installation (markdown)

Alex Xu
2023-07-14 23:21:57 -07:00
parent 84438187ba
commit 4fa318f5d0
+13 -11
@@ -1,6 +1,6 @@
# 7-Zip ## 7-Zip
## Windows ### Windows
First install 7z from https://www.7-zip.org/ or with command line: 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. Be sure to close and re-open KCC so it sees the updated PATH.
## Mac ### Mac
with [Homebrew](https://brew.sh/) installed with [Homebrew](https://brew.sh/) installed
``` ```
$ brew install p7zip $ brew install p7zip
``` ```
# Kindlegen ## Kindlegen
## Windows ### Windows
Move `kindlegen.exe` from Kindle Previewer into the same folder as KCC. 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: And to fix the KindleGen missing warning, with [Homebrew](https://brew.sh/) installed:
```bash ```bash
@@ -38,7 +38,7 @@ or
brew install --cask kindle-comic-creator brew install --cask kindle-comic-creator
``` ```
### DOWNLOADS ## DOWNLOADS
You can find the latest binary at the following link: You can find the latest binary at the following link:
- **https://github.com/ciromattia/kcc/releases** - **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 ### 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 #### Windows
One time setup: Setup a virtual environment and run: One time setup and running for the first time:
``` ```
python -m venv venv python -m venv venv
venv\Scripts\activate.bat venv\Scripts\activate.bat
@@ -146,7 +148,7 @@ python kcc.py
#### Mac #### Mac
One time setup: Setup a virtual environment and run: One time setup and running for the first time:
``` ```
python3 -m venv venv python3 -m venv venv
source venv/bin/activate source venv/bin/activate