|
|
@ -12,6 +12,30 @@ Library to hold books / knowledge
|
|
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo apt install python3-virtualenv
|
|
|
|
|
|
|
|
sudo virtualenv venv
|
|
|
|
|
|
|
|
source venv/bin/activate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo chmod -R 777 XPPL/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pip3 install flask
|
|
|
|
|
|
|
|
pip3 install flask_sqlalchemy
|
|
|
|
|
|
|
|
pip3 install marshmallow
|
|
|
|
|
|
|
|
pip3 install flask_socketio
|
|
|
|
|
|
|
|
pip3 install python-dotenv
|
|
|
|
|
|
|
|
pip3 install flask_weasyprint
|
|
|
|
|
|
|
|
pip3 install flask_wtf
|
|
|
|
|
|
|
|
pip3 install wand
|
|
|
|
|
|
|
|
pip3 install PyPDF2
|
|
|
|
|
|
|
|
pip3 install requests
|
|
|
|
|
|
|
|
pip3 install autocomplete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo apt-get install libpangocairo-1.0-0
|
|
|
|
|
|
|
|
sudo apt-get install libmagickwand-dev
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bash init_db.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Install the required dependencies:
|
|
|
|
Install the required dependencies:
|
|
|
|
|
|
|
|
|
|
|
|
$ pip3 install -r requirements.txt
|
|
|
|
$ pip3 install -r requirements.txt
|
|
|
|