joy_timmermans
10/05/2020, 3:47 PMjoy_timmermans
10/05/2020, 4:04 PMdouwe_maan
10/05/2020, 4:18 PMzlatan
10/05/2020, 5:56 PMC:\devABI\fb_project\try1>docker run --interactive -v %cd%:/projects -w /projects meltano/meltano tap-facebook -c config.json --discover
It returns "no such command"zlatan
10/05/2020, 5:57 PMdouwe_maan
10/05/2020, 5:58 PMinvoke after meltano/meltano ! Also note that the config file will be generated automatically, and -c config.json will be ignored: https://meltano.com/docs/configuration.htmljoy_timmermans
10/05/2020, 6:03 PMdocker run meltano/meltano add extractor tap-facebook but that gave me _Use meltano init <project_name> to create one._douwe_maan
10/05/2020, 6:06 PMWhen running asubcommand that requires access to your project (which you'll create in the next step), you'll also need to mount the project directory into the container and set it as the container's working directory:meltano
docker run -v $(pwd):/project -w /project meltano/meltano <args>douwe_maan
10/05/2020, 6:07 PMjoy_timmermans
10/05/2020, 6:32 PMdocker run -v -d $(pwd):/project \
-w /project \
-p 5000:5000 \
meltano/meltano to start the container. do I have to use that whole command to also run commands behind it? and I have tried multiple. I dont have python 3.8 installed atm so I cant install the cli, so i tried the one from here https://gitlab.com/meltano/files-docker-compose/-/blob/master/bundle/docker-compose.yml and the one that is in the main project updated a year ago https://gitlab.com/meltano/meltano/-/blob/master/docker-compose.ymldouwe_maan
10/05/2020, 6:35 PMdocker run options. You can of course define an alias for
docker run -v $(pwd):/project -w /project meltano/meltano
to save you a copy-and-paste headache 🙂
As for docker-compose.yml, the one in the main repo is actually for use while developing Meltano itself. Inside your project, https://gitlab.com/meltano/files-docker-compose/-/blob/master/bundle/docker-compose.yml is the way to go.joy_timmermans
10/05/2020, 10:26 PMdouwe_maan
10/05/2020, 10:41 PMI looked at the other project but I dont get where you need to put the configuration that is added with the readme. in what folder should I put it in?If you use a Singer tap through Meltano, you should not manually create the
config.json file, but instead use Meltano's configuration layers: https://meltano.com/docs/configuration.html If you're getting started, I suggest following these steps: https://meltano.com/docs/getting-started.html#configure-the-extractor
and when it is put in correctly do you see it update in the ui?Yep! Managing config in the UI and
meltano config CLI is equivalent, in that both store and read from meltano.yml and .envdouwe_maan
10/06/2020, 9:38 PM