webgalen/bin/run

21 lines
374 B
Text
Raw Normal View History

2018-09-20 23:25:39 +00:00
#!/bin/sh
# --restart always \
# docker run -d \
# --rm \
# --name casperjs-daemon \
# -v $(pwd):/home/casperjs-tests \
# vitr/casperjs
#--engine=slimerjs \
export PATH="$(npm bin):$PATH"
$(npm bin)/casperjs \
--log-level=debug \
--engine=slimerjs \
./download.js \
"URL"
# docker exec casperjs-daemon phantomjs download.js "URL"
# docker stop casperjs-daemon