The newsbot featured in my YouTube video.
Python3, virtualenv en pip installed on your system.
- Create a virtual env:
virtualenv -p python3 newsbot
- Go to the folder with
cd newsbot
- Activate the virtualenv:
source bin/activate
- Create src folder:
mkdir src
and cd into new folder withcd src
- Use
git clone https://github.com/webconexus/newsbot.git
cd newsbot
and usepip install -r requirements.txt
- Now run your server with
python3 ./manage.py runserver
- Congratz you have your Easy Peasy Lemon Squeezy Newsbot website running on localhost, port 8000.
- Delete de SQLite database
- Migrate the database with
python3 ./manage.py migrate
- Go to the "scraper" folder and run
scrapy crawl wikinews
- Now run your server with
python3 ./manage.py runserver