Skip to content
This repository was archived by the owner on Apr 1, 2021. It is now read-only.
Yoon Wai Yan edited this page Aug 20, 2018 · 4 revisions

Use Docker to run the script

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:

  1. Copy docker-compose.yml.example to docker-compose.yml. For example:
$ cp docker-compose.yml.example docker-compose.yml

Edit your login credentials within the file by replacing STACKSKILLS_EMAIL and STACKSKILLS_PASSWORD with your login email and password respectively.

  1. Build the Docker image and execute the script
$ docker-compose build
$ docker-compose run stackskills_dl

Or 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
Clone this wiki locally