Skip to content

Latest commit

 

History

History
42 lines (37 loc) · 1.35 KB

README.md

File metadata and controls

42 lines (37 loc) · 1.35 KB

How to use

Recommended python version is 3.8

The app is tested on Linux. But should be run without any problem on Windows too.

1. Create a python virtual environment

Use the following command to create a virtual environment:

python -m venv <virtual environment name>
ex: python -m venv .venv
2. Activate the virtual environment

To activate virtual environment on Linux, use the following command:

source <virtual environment path>/bin/activate
ex: source .venv/bin/activate
3. Install required packages using pip:

There is a file called requirements.txt in project files. you can use it to install required packages:

pip install -r requirements.txt
4. Update articles info

Use the following command to update the articles info. This info is about article summary, keywords, download link etc.

python articles.py update
5. Download articles

To actually download the articles file, use the following command.

python articles.py download
Notes
  • You can cancel downloading at any time. All downloaded files are stored and wont be downloaded again.
  • You can also use the update command periodically to see if a new article in available.
  • All downloaded content will be stored in data directory.