I'm too lazy to add something here.
Clone this repository into your working directory with the following command.
$ git clone https://github.com/AndreiFdv/news_parser.git
In case you use Pipenv, type this command.
$ cd news_parser && pipenv install
For virtualenv use this.
$ virtualenv venv && source venv/bin/activate && cd news_parser && pip install -r requirements.txt
This project will not work without the .env file, so download it and put it into the project folder.
Make sure that virtualenv was activated and use this command.
$ python manage.py migrate && python manage.py runserver
Before you commit something, check the following settings inside the commit window:
- Reformat code
- Optimize imports
- Perform code analytics
Understanding the code with these settings enabled will be much easier.