This repository was archived by the owner on Apr 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Home
Yoon Wai Yan edited this page Aug 20, 2018
·
4 revisions
It's highly recommended to run this script if you have Docker installed so that you don't have to install and setup the dependencies, especially when you're using Windows.
To run this script using Docker, you can use both docker-compose or run the image manually.
Using docker-compose:
- Copy
docker-compose.yml.exampletodocker-compose.yml. For example:
$ cp docker-compose.yml.example docker-compose.ymlEdit your login credentials within the file by replacing STACKSKILLS_EMAIL and STACKSKILLS_PASSWORD with your login email and password respectively.
- Build the Docker image and execute the script
$ docker-compose build
$ docker-compose run stackskills_dlOr if you prefer to use Docker directly:
$ docker build -t stackskills-dl .
$ docker run -it --rm -v $PWD/downloads:/usr/app/downloads stackskills-dl ruby stackskills_dl.rb [OPTIONS]
### manually run the script