-
Nodejs : install nvm
-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
-
nvm install 10.17.0
-
nvm use 10.17.0
-
npm install -g nodemon
-
-
Solr 8.2.0
-
Scrapy : install scrapy
- Python3: pip install Scrapy
cd /path/to/solrfolder/solr-8.3.1 bin/solr start
bin/solr create -c spiderum to create core name spiderrum bin/post -c spiderum path/to/spiderum.json import data to core
npm start
checkout branch to "scrapy"
run command "scrapy crawl HNComputer -o filename.json
bin/solr delete -c spiderum
bin/solr create -c spiderum
bin/post -c spiderum path/to/spiderum.json