- nodejs
- forever
- yarn
- set up nginx proxy on port 3001
git clone ...
cd vuelibs.org
yarn install
# Copy example.deploy.sh as deploy.sh and replace api keys and mongo url.
chmod +x deploy.sh
./deploy.sh
# Copy example.parser.sh as parser.sh and replace api keys and mongo url.
chmod +x parser.sh
# Dev
ENV=dev ./parser.sh
# Prod
ENV=prod ./parser.sh
Run parser everyday at 5:23
EDITOR=nano crontab -e
23 5 * * * ENV=prod CD PATH_TO_REPO/ && ./parser.sh
- node.js
- mongodb (I use mlab)
- vue.js
- babel