cd path/to/a/new/directory
git clone https://github.com/MaksNech/pylab2018_ht_22.git
Inside project create virtual environment:
virtualenv -p python3 env
Then start virtual environment:
source env/bin/activate
Install packages using pip according to the requirements.txt file:
pip install -r requirements.txt
Inside project directory run app with terminal command:
python3 manage.py runserver
Email address: [email protected]
Inside project directory run celery and scrapy with terminal commands:
celery -A store worker -l info
scrapy crawl net_a_porter_bags
Then go to the site in browser and press 'scrapping' button.
enter to Redis:
redis-cli
clear all databases:
FLUSHDB
show keys in Redis:
keys *