Skip to content

yboyer/motovis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motovis

Motorbikes data visualiser

Prerequisites:

  • MongoDB
  • Node.js
  • npm
  • Scrapy
    • pymongo

Usage:

Install

Clone the GitHub repo:
git clone https://github.com/yboyer/motovis.git
cd motovis
Install dependencies:
npm i

Fill the MongoDB database

From the dump

Restore data With mongorestore:
mongorestore --gzip

With Scrapy

Crawl data of websites:
cd crawler
python core.py

or with individual spider

scrapy crawl [dafy | motoblouz | motoplanete]

Run

Run server and start listening on port 3000
npm start