mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
17 lines
323 B
Bash
17 lines
323 B
Bash
#!/bin/bash
|
|
|
|
# install node
|
|
curl -sL https://deb.nodesource.com/setup_16.x -o /tmp/nodesource_setup.sh \
|
|
&& bash /tmp/nodesource_setup.sh \
|
|
&& apt-get install -y nodejs
|
|
|
|
# install node dependencies
|
|
npm install -g \
|
|
yarn \
|
|
pnpm \
|
|
crawlab-sdk@latest \
|
|
puppeteer \
|
|
playwright \
|
|
playwright-chromium \
|
|
crawlee
|