Crawl medium.com urls recursively.
Local setup
- make sure node version is > 8.x. To install node version nvm
nvm install 8.x - install mongodb | follow this link https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-18-04
- make sure
mongodservice is runningsudo service mongod status(for ubunutu) npm startto start app in dev env
Dev Setup
- make sure
dockeranddocker-composeis installed. If now, follow link https://docs.docker.com/install/ npm run app:testto run
Prod setup
-
npm run app:build:upto build & run node app in prod env -
npm run app:buildto build node app image in prod env -
npm run app:prodto run node app in prod env -
NOTE: https://stackoverflow.com/questions/48957195/how-to-fix-docker-got-permission-denied-issue