Skip to content

Instantly share code, notes, and snippets.

@canximan
Last active October 28, 2019 13:11
Show Gist options
  • Save canximan/b04ffbb4a4f0d7c2576a9b7efdb4d522 to your computer and use it in GitHub Desktop.
Save canximan/b04ffbb4a4f0d7c2576a9b7efdb4d522 to your computer and use it in GitHub Desktop.
popcorn-crawl.sh
sudo service docker stop
rm -rf ~/popcorn-crawl
git clone https://gitlab.com/popcorn-vn/popcorn-crawl.git
cd ~/popcorn-crawl
git submodule update --init --recursive
cd ~/popcorn-crawl/src/models
git checkout master && git pull
cd ~/popcorn-crawl
npm cache clear --force
npm i -g pm2
npm i
npm run prepublish
mkdir storage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment