Skip to content

Installations

ArthurZhou edited this page Jun 10, 2022 · 4 revisions

Install D2Lib on your server

Manual install

Run from source

  1. Install Python3.7.2
  2. Use git clone https://github.com/ArthurZhou/D2Lib.git to clone this repo
  3. After download finished, cd into it and type `pip install -r requirements.txt
  4. Run D2Lib.py (if you are using alpha0.1, please run 0.1.0.py)

Auto install(You need to install python3.7 yourself)

  1. Run pip install markdown and pip install markdown-checklist
  2. Run this command: curl -sL https://raw.githubusercontent.com/ArthurZhou/D2Lib/main/install.sh | bash -s -