Go to file
Remco Verhoef af4814269f
add docker support
2018-05-07 15:10:15 +02:00
cmd add docker support 2018-05-07 15:10:15 +02:00
config add docker support 2018-05-07 15:10:15 +02:00
models add docker support 2018-05-07 15:10:15 +02:00
utils initial 2018-04-24 17:08:53 +02:00
vendor add docker support 2018-05-07 15:10:15 +02:00
Dockerfile add docker support 2018-05-07 15:10:15 +02:00
Gopkg.lock add docker support 2018-05-07 15:10:15 +02:00
Gopkg.toml initial 2018-04-24 17:08:53 +02:00
README.md add docker support 2018-05-07 15:10:15 +02:00
config.yaml.sample initial 2018-04-24 17:08:53 +02:00
database.go add docker support 2018-05-07 15:10:15 +02:00
importer.go add docker support 2018-05-07 15:10:15 +02:00

README.md

Import

Import Slack archives into SlackArchive.

Usage

import {xoxb-token} {path-to-archive}

Docker

Copy config.yaml.sample to config.yaml and update it to the correct values. Extract the zip file in the ./data folder and then execute the following command:

docker run  --mount type=bind,source=$(pwd)/config.yaml,target="/config/config.yaml" --mount type=bind,source=$(pwd)/data/,target="/data" --network slackarchive dutchcoders/slackarchive-import -- {xoxb-token} {/data/folder}