docs: getting started from scratch #1

Open
decentral1se wants to merge 1 commits from hacking-docs into master
  1. 13
      command-line/README.md
  2. 7
      command-line/requirements.txt

13
command-line/README.md

@ -27,8 +27,11 @@ It saves it as a HTML page, which can be turned into a PDF with Paged.js.
## How to use it? ## How to use it?
1. Change the `wiki` and `pagename` variables in `update.py` on line 221 + 222. 1. Change the `wiki` and `pagename` (e.g. `Pdf:Foobar`) variables in `update.py` on line 221 + 222.
2. Copy paste your CSS into print.css 1. Copy paste your CSS into print.css
3. Run `$ python3 update.py` 1. `python3 -m venv .venv && source .venv/bin/activate`
4. Run `$ make` 1. `pip install -r requirements.txt`
5. Open `localhost:8000` in your browser 1. Run `import nltk; nltk.download('punkt')` in a `python3` interpreter
1. Run `$ python3 update.py`
1. Run `$ make`
1. Open `localhost:8000` in your browser

7
command-line/requirements.txt

@ -0,0 +1,7 @@
click==8.1.3
Jinja2==3.1.2
joblib==1.2.0
MarkupSafe==2.1.2
nltk==3.8.1
regex==2023.3.23
tqdm==4.65.0
Loading…
Cancel
Save